CVE-2012-0789
What it is
Memory leak in the timezone functionality in PHP before 5.3.9 allows remote attackers to cause a denial of service (memory consumption) by triggering many strtotime function calls, which are not properly handled by the php_date_parse_tzfile cache.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 8.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
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: 8.0% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 8.0% · EPSS, next 30 days
- Weakness
- CWE-399
- Record status
- Modified
Affected
- PHP ≤ 5.3.8
- PHP 5.0.0
- PHP 5.0.1
- PHP 5.0.2
- PHP 5.0.3
- PHP 5.0.4
- PHP 5.0.5
- PHP 5.1.1
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:L/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-2012-0789.md and follow it. Check whether this project is affected by CVE-2012-0789. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
- http://secunia.com/advisories/48668
- http://www.php.net/ChangeLog-5.php#5.3.9
- https://bugs.php.net/bug.php?id=53502
- https://bugzilla.redhat.com/show_bug.cgi?id=783609
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
- http://secunia.com/advisories/48668
- http://www.php.net/ChangeLog-5.php#5.3.9
- https://bugs.php.net/bug.php?id=53502
- https://bugzilla.redhat.com/show_bug.cgi?id=783609