Bug 1512057 (CVE-2017-16642) - CVE-2017-16642 php: Out-of-bound read in timelib_meridian()
Summary: CVE-2017-16642 php: Out-of-bound read in timelib_meridian()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-16642
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1512059 1554333 1628214
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-10 18:29 UTC by Pedro Sampaio
Modified: 2019-09-29 14:25 UTC (History)
8 users (show)

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:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:31:02 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1296 None None None 2018-05-03 05:08:26 UTC
Red Hat Product Errata RHSA-2019:2519 None None None 2019-08-19 08:40:58 UTC

Description Pedro Sampaio 2017-11-10 18:29:53 UTC
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 18:30:18 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1512059]

Comment 3 errata-xmlrpc 2018-05-03 05:08:20 UTC
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

Comment 6 errata-xmlrpc 2019-08-19 08:40:57 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS

Via RHSA-2019:2519 https://access.redhat.com/errata/RHSA-2019:2519


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