CVE-2011-0421
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 13.5% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 13.5% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 13.5% · EPSS, next 30 days
- Record status
- Modified
Affected
- PHP ≤ 5.3.5
- PHP 1.0
- PHP 2.0
- PHP 2.0b10
- PHP 3.0
- PHP 3.0.1
- PHP 3.0.2
- PHP 3.0.3
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-0421.md and follow it. Check whether this project is affected by CVE-2011-0421. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/43621
- http://svn.php.net/viewvc/?view=revision&revision=307867
- http://www.vupen.com/english/advisories/2011/0744
- http://www.vupen.com/english/advisories/2011/0764
- http://www.vupen.com/english/advisories/2011/0890
- https://bugzilla.redhat.com/show_bug.cgi?id=688735
- http://secunia.com/advisories/43621
- http://svn.php.net/viewvc/?view=revision&revision=307867
- http://www.vupen.com/english/advisories/2011/0744
- http://www.vupen.com/english/advisories/2011/0764
References
- http://bugs.php.net/bug.php?id=53885
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057709.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057710.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056642.html
- http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://secunia.com/advisories/43621
- http://securityreason.com/achievement_securityalert/96
- http://securityreason.com/securityalert/8146
- http://support.apple.com/kb/HT5002
- http://svn.php.net/viewvc/?view=revision&revision=307867
- http://www.debian.org/security/2011/dsa-2266
- http://www.exploit-db.com/exploits/17004
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:052
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:053
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:099
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2011.php
- http://www.php.net/releases/5_3_6.php
- http://www.securityfocus.com/archive/1/517065/100/0/threaded
- http://www.securityfocus.com/bid/46354
- http://www.vupen.com/english/advisories/2011/0744
- http://www.vupen.com/english/advisories/2011/0764
- http://www.vupen.com/english/advisories/2011/0890