CVE-2007-0988
What it is
The zend_hash_init function in PHP 5 before 5.2.1 and PHP 4 before 4.4.5, when running on a 64-bit platform, allows context-dependent attackers to cause a denial of service (infinite loop) by unserializing certain integer expressions, which only cause 32-bit arguments to be used after the check for a negative value, as demonstrated by an "a:2147483649:{" argument.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.4% chance of exploitation in the next 30 days (EPSS).
- 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: 2.4% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- PHP < 4.4.5
- PHP < 5.2.1
- PHP 4.0
- Canonical Ubuntu Linux 5.10
- Canonical Ubuntu Linux 6.06
- Canonical Ubuntu Linux 6.10
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-2007-0988.md and follow it. Check whether this project is affected by CVE-2007-0988. 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
References
- ftp://patches.sgi.com/support/free/security/advisories/20070201-01-P.asc
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228858
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137
- http://osvdb.org/32762
- http://rhn.redhat.com/errata/RHSA-2007-0089.html
- http://secunia.com/advisories/24195
- http://secunia.com/advisories/24217
- http://secunia.com/advisories/24236
- http://secunia.com/advisories/24248
- http://secunia.com/advisories/24284
- http://secunia.com/advisories/24295
- http://secunia.com/advisories/24322
- http://secunia.com/advisories/24419
- http://secunia.com/advisories/24421
- http://secunia.com/advisories/24432
- http://secunia.com/advisories/24606
- http://secunia.com/advisories/24642
- http://secunia.com/advisories/25056
- http://secunia.com/advisories/25423
- http://secunia.com/advisories/25850
- http://security.gentoo.org/glsa/glsa-200703-21.xml
- http://securityreason.com/securityalert/2315
- http://support.avaya.com/elmodocs2/security/ASA-2007-101.htm
- http://support.avaya.com/elmodocs2/security/ASA-2007-136.htm