Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1471834 - (CVE-2017-11145) CVE-2017-11145 php: wddx_deserialize() heap out-of-bound read via php_parse_date()
CVE-2017-11145 php: wddx_deserialize() heap out-of-bound read via php_parse_d...
Status: CLOSED WONTFIX
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=20170627,reported=2...
: Security
Depends On: 1471856 1554537
Blocks: 1491035
  Show dependency treegraph
 
Reported: 2017-07-17 10:11 EDT by Adam Mariš
Modified: 2018-05-03 01:07 EDT (History)
9 users (show)

See Also:
Fixed In Version: php 5.6.31, php 7.0.21, php 7.1.7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-21 04:15:14 EDT
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:07 EDT

  None (edit)
Description Adam Mariš 2017-07-17 10:11:56 EDT
In PHP before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, lack
of a bounds check 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 an
ext/date/lib/parse_date.c out-of-bounds read affecting the
php_parse_date function.

Upstream bug:

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

Upstream patch:

https://gist.github.com/anonymous/bd77ac90d3bdf31ce2a5251ad92e9e75
Comment 1 Martin Prpič 2017-07-17 10:34:29 EDT
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1471856]
Comment 2 Adam Mariš 2017-07-21 04:15:14 EDT
This issue happens when untrusted input is deserialized. Doing so is documented as being unsafe:

http://php.net/manual/en/function.wddx-deserialize.php

Do not pass untrusted user input to wddx_deserialize(). Unserialization can result in code being loaded and executed due to object instantiation and autoloading, and a malicious user may be able to exploit this. Use a safe, standard data interchange format such as JSON (via json_decode() and json_encode()) if you need to pass serialized data to the user.
Comment 3 Tomas Hoger 2018-03-12 17:49:32 EDT
The CVE-2017-11146 was rejected as:

"""
This candidate was withdrawn by its CNA. Further investigation showed that it was not an independently fixable security issue relative to CVE-2017-11145.
"""
Comment 5 errata-xmlrpc 2018-05-03 01:07:41 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.