Skip to content
OpenAdvisories
Unscored CVE-2017-11145 EUVD-2017-2780GHSA-qf84-frq3-x59j

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 us…

Published Jul 10, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 9 php7.0 7.0.27-0+deb9u1 DSA-4080-1
Debian 8 php5 5.6.33+dfsg-0+deb8u1 DSA-4081-1
Debian 7 php5 5.4.45-0+deb7u9 DLA-1034-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS php7.0 7.0.22-0ubuntu0.16.04.1 USN-3382-1
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.22 USN-3382-1
ReleasePackageFixed inAdvisory
RHEL 3 rh-php70-php +29 7.0.27-1.el6 RHSA-2018:1296
ReleasePackageFixed inAdvisory
SLES 12 SP3 php5 5.5.14-109.5.1 SUSE-SU-2017:2317-1
SLES 12 SP3 php7 7.0.7-50.9.2 SUSE-SU-2017:2303-1
SLES 12 SP2 php5 5.5.14-109.5.1 SUSE-SU-2017:2317-1
SLES 12 SP2 php7 7.0.7-50.9.2 SUSE-SU-2017:2303-1
SLES 12 php5 5.5.14-109.5.1 SUSE-SU-2017:2317-1
SLES 12 php7 7.0.7-50.9.2 SUSE-SU-2017:2303-1
SLES 11 SP4 php53 5.3.17-112.5.1 SUSE-SU-2017:2522-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 11 SP4 php53 5.3.17-112.5.1 SUSE-SU-2017:2522-1

Advisories 9

References