CVE-2017-11145
In PHP before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, an error in the date extension's timelib_meridian parsing code could be used by attackers able to supply date strings to leak information from the interpreter, related to ext/date/lib/parse_date.c out-of-bounds reads affecting the php_parse_date function. NOTE: the correct fix is in the e8b7698f5ee757ce2c8bd10a192a491a498f891c commit, not the bd77ac90d3bdf31ce2a5251ad92e9e75 gist.
What to do
Fixed builds are available from Ubuntu: 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 |
|---|---|---|---|---|
| Ubuntu 16.04 | php7.0 | Fixed | 7.0.22-0ubuntu0.16.04.1 | UBUNTU-CVE-2017-11145 |
| Ubuntu 14.04 | php5 | Fixed | 5.5.9+dfsg-1ubuntu4.22 | UBUNTU-CVE-2017-11145 |
| Red Hat Enterprise Linux 7 | php | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-bcmath | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-cli | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-dba | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-embedded | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-enchant | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-fpm | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-gd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-intl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-ldap | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-mbstring | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-mysql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-mysqlnd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-odbc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-pdo | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-pgsql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-process | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-pspell | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-recode | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-snmp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-soap | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-xml | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | php-xmlrpc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-bcmath | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-cli | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-dba | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-embedded | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-enchant | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-fpm | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-gd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-imap | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-intl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-ldap | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-mbstring | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-mysql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-odbc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-pdo | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-pgsql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-process | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-pspell | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-recode | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-snmp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-soap | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-tidy | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-xml | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-xmlrpc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-zts | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | php | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | php53 | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:1296 (vendor-advisory)
- https://www.debian.org/security/2018/dsa-4081 (vendor-advisory)
- https://www.debian.org/security/2018/dsa-4080 (vendor-advisory)
References
- http://openwall.com/lists/oss-security/2017/07/10/6
- https://bugs.php.net/bug.php?id=74819
- https://www.tenable.com/security/tns-2017-12
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=e8b7698f5ee757ce2c8bd10a192a491a498f891c
- http://www.securityfocus.com/bid/99550
- https://access.redhat.com/errata/RHSA-2018:1296
- http://php.net/ChangeLog-5.php
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://www.debian.org/security/2018/dsa-4081
- https://www.debian.org/security/2018/dsa-4080
- http://php.net/ChangeLog-7.php
- https://gist.github.com/anonymous/bd77ac90d3bdf31ce2a5251ad92e9e75
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.