Bug 1512057 - (CVE-2017-16642) CVE-2017-16642 php: Out-of-bound read in timelib_meridian()
CVE-2017-16642 php: Out-of-bound read in timelib_meridian()
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20171107,reported=2...
: Security
Depends On: 1512059 1554333
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-10 13:29 EST by Pedro Sampaio
Modified: 2018-05-03 01:08 EDT (History)
6 users (show)

See Also:
Fixed In Version: php 7.0.25, php 7.1.11, php 7.2.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1296 None None None 2018-05-03 01:08 EDT

  None (edit)
Description Pedro Sampaio 2017-11-10 13:29:53 EST
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.

Upstream bug:

https://bugs.php.net/bug.php?id=75055

Upstream patch:

https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d57536
https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1
Comment 1 Pedro Sampaio 2017-11-10 13:30:18 EST
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1512059]
Comment 3 errata-xmlrpc 2018-05-03 01:08:20 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS

Via RHSA-2018:1296 https://access.redhat.com/errata/RHSA-2018:1296

Note You need to log in before you can comment on or make changes to this bug.