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; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-2266-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libzip (PTS)buster1.5.1-4fixed
trixie, bookworm, bullseye1.7.3-1fixed
sid1.7.3-1.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libzipsource(unstable)0.10-1low
php5sourcelenny5.2.6.dfsg.1-1+lenny12DSA-2266-1
php5sourcesqueeze5.3.3-7+squeeze3DSA-2266-1
php5source(unstable)5.3.6-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