CVE-2011-0421
php/libzip: segfault with FL_UNCHANGED on empty archive in zip_name_locate()
Overview
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: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
AV:N/AC:M/Au:N/C:N/I:N/A:P
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 9 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | libzip | 0.10-1 |
| 12 | libzip | 0.10-1 |
| 13 | libzip | 0.10-1 |
| 14 | libzip | 0.10-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libzip | 0.10-1 |
openSUSE 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libzip-devel +3 | 1.1.3-1.4 | openSUSE-SU-2024:10113-1 |
| Tumbleweed | apache2-mod-php5 +58 | 5.6.28-1.1 | openSUSE-SU-2024:10344-1 |
| Tumbleweed | apache2-mod-php7 +56 | 7.0.14-1.4 | openSUSE-SU-2024:10290-1 |
| Tumbleweed | php8 +46 | 8.0.11-1.1 | openSUSE-SU-2024:11169-1 |
References
- bugs.php.net http://bugs.php.net/bug.php?id=53885
- lists.apple.com http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057709.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057710.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056642.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html
- marc.info http://marc.info/?l=bugtraq&m=133469208622507&w=2
- secunia.com http://secunia.com/advisories/43621
- securityreason.com http://securityreason.com/achievement_securityalert/96
- securityreason.com http://securityreason.com/securityalert/8146
Show all 30 references
- support.apple.com http://support.apple.com/kb/HT5002
- svn.php.net http://svn.php.net/viewvc/?view=revision&revision=307867
- www.debian.org http://www.debian.org/security/2011/dsa-2266
- www.exploit-db.com http://www.exploit-db.com/exploits/17004
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2011:052
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2011:053
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2011:099
- www.php.net http://www.php.net/ChangeLog-5.php
- www.php.net http://www.php.net/archive/2011.php
- www.php.net http://www.php.net/releases/5_3_6.php
- www.securityfocus.com http://www.securityfocus.com/archive/1/517065/100/0/threaded
- www.securityfocus.com http://www.securityfocus.com/bid/46354
- www.vupen.com http://www.vupen.com/english/advisories/2011/0744
- www.vupen.com http://www.vupen.com/english/advisories/2011/0764
- www.vupen.com http://www.vupen.com/english/advisories/2011/0890
- access.redhat.com https://access.redhat.com/security/cve/CVE-2011-0421
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=688735
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/66173
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2011-0421
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2011-0421
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.