CVE-2012-0789
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.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | php | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-bcmath | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-cli | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-common | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-dba | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-devel | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-embedded | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-enchant | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-gd | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-imap | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-intl | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-ldap | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-mbstring | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-mysql | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-odbc | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-pdo | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-pgsql | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-process | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-pspell | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-recode | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-snmp | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-soap | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-tidy | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-xml | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-xmlrpc | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | php-zts | Fixed | 0:5.3.3-14.el6_3 | RHSA-2012:1046 |
| Red Hat Enterprise Linux 5 | php | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-bcmath | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-cli | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-common | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-dba | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-devel | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-gd | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-imap | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-ldap | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-mbstring | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-mysql | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-ncurses | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-odbc | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-pdo | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-pgsql | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-snmp | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-soap | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-xml | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php-xmlrpc | Fixed | 0:5.1.6-39.el5_8 | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php53 | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-bcmath | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-cli | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-common | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-dba | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-devel | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-gd | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-imap | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-intl | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-ldap | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-mbstring | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-mysql | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-odbc | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-pdo | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-pgsql | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-process | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-pspell | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-snmp | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-soap | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-xml | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | php53-xmlrpc | Fixed | 0:5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux 4 | php | Will not fix Will not fix |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html (vendor-advisory)
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
- https://bugzilla.redhat.com/show_bug.cgi?id=783609
- http://www.php.net/ChangeLog-5.php#5.3.9
- https://bugs.php.net/bug.php?id=53502
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.