Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | < 5.6.32 |
| Debian | Debian Linux | 8.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Netapp | Storage Automation Store | - |
| Netapp | Clustered Data Ontap | - |
Related Weaknesses (CWE)
References
- http://php.net/ChangeLog-5.phpIssue TrackingRelease NotesVendor Advisory
- http://php.net/ChangeLog-7.phpIssue TrackingRelease NotesVendor Advisory
- http://www.securityfocus.com/bid/101745Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:1296Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2519
- https://bugs.php.net/bug.php?id=75055Issue TrackingVendor Advisory
- https://github.com/derickr/timelib/commit/aa9156006e88565e1f1a5f7cc088b18322d575Issue TrackingPatchThird Party Advisory
- https://github.com/php/php-src/commit/5c0455bf2c8cd3c25401407f158e820aa3b239e1Issue TrackingPatchThird Party Advisory
- https://security.netapp.com/advisory/ntap-20181123-0001/Third Party Advisory
- https://usn.ubuntu.com/3566-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4080Third Party Advisory
- https://www.debian.org/security/2018/dsa-4081Third Party Advisory
- https://www.exploit-db.com/exploits/43133/ExploitIssue TrackingThird Party Advisory
- http://php.net/ChangeLog-5.phpIssue TrackingRelease NotesVendor Advisory
- http://php.net/ChangeLog-7.phpIssue TrackingRelease NotesVendor Advisory
FAQ
What is CVE-2017-16642?
CVE-2017-16642 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 s...
How severe is CVE-2017-16642?
CVE-2017-16642 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-16642?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php, Debian Debian Linux, Canonical Ubuntu Linux, Netapp Storage Automation Store, Netapp Clustered Data Ontap.