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; oss-sec, fulldisc, OSVDB, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, more)
ReferencesDSA-2266-1
NVD severitymedium (attack range: remote, user-initiated)
Debian/oldstablepackage libzip is vulnerable.
Debian/stablenot vulnerable.
Debian/testingnot vulnerable.
Debian/unstablenot vulnerable.

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libzip (PTS)squeeze0.9.3-1vulnerable
wheezy0.10.1-1.1fixed
jessie, sid0.11.2-1.2fixed
php5 (PTS)squeeze (security), squeeze5.3.3-7+squeeze19fixed
squeeze (lts)5.3.3-7+squeeze25fixed
wheezy5.4.36-0+deb7u1fixed
wheezy (security)5.4.39-0+deb7u1fixed
jessie5.6.6+dfsg-2fixed
sid5.6.7+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