CVE-2011-0421

NameCVE-2011-0421
DescriptionThe _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHANGED argument, which might allow context-dependent attackers to cause a denial of service (NULL pointer dereference) via an empty ZIP archive that is processed with a (1) locateName or (2) statName operation.
SourceCVE (at NVD; LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-2266-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libzip (PTS)wheezy0.10.1-1.1fixed
jessie0.11.2-1.2fixed
stretch, sid1.0.1-1.1fixed
php5 (PTS)wheezy (security), wheezy5.4.45-0+deb7u2fixed
jessie5.6.19+dfsg-0+deb8u1fixed
jessie (security)5.6.20+dfsg-0+deb8u1fixed
stretch5.6.20+dfsg-1fixed
sid5.6.21+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libzipsource(unstable)0.10-1low
php5source(unstable)5.3.6-1medium
php5sourcelenny5.2.6.dfsg.1-1+lenny12mediumDSA-2266-1
php5sourcesqueeze5.3.3-7+squeeze3mediumDSA-2266-1

Notes

http://svn.php.net/viewvc?view=revision&revision=307867
[squeeze] - libzip <no-dsa> (Minor issue)
http://hg.nih.at/libzip/?fd=13654bfdc88c;file=lib/zip_name_locate.c

Search for package or bug name: Reporting problems