CVE-2017-16642
Summary
In PHP before 5.6.32, 7.x before 7.0.25, and 7.1.x before 7.1.11, an error in the date extension's timelib_meridian handling of 'front of' and 'back of' directives 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: this is a different issue than CVE-2017-11145.
Impact & exploitability
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536 ↗
Additional information
- NVD record
- https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536Patch
- https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1Patch
- http://php.net/ChangeLog-5.phpAdvisory
- http://php.net/ChangeLog-7.phpAdvisory
- https://bugs.php.net/bug.php?id=75055Advisory
- http://www.securityfocus.com/bid/101745Advisory
- https://access.redhat.com/errata/RHSA-2018:1296Advisory
- https://access.redhat.com/errata/RHSA-2019:2519