Name | CVE-2011-0421 |
Description | The _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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-2266-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libzip (PTS) | jessie | 0.11.2-1.2 | fixed |
stretch (security), stretch (lts), stretch | 1.1.2-1.1+deb9u1 | fixed | |
buster | 1.5.1-4 | fixed | |
bullseye, bookworm | 1.7.3-1 | fixed | |
sid, trixie | 1.11.2-1 | fixed | |
php5 (PTS) | jessie, jessie (lts) | 5.6.40+dfsg-0+deb8u21 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libzip | source | (unstable) | 0.10-1 | low | ||
php5 | source | lenny | 5.2.6.dfsg.1-1+lenny12 | DSA-2266-1 | ||
php5 | source | squeeze | 5.3.3-7+squeeze3 | DSA-2266-1 | ||
php5 | source | (unstable) | 5.3.6-1 |
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