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…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 9 fixed, 4 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-125 and the CVSS impact.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | before 5.6.32; 7.0.0 to before 7.0.25; 7.1.0 to before 7.1.11 | Vulnerable | PHP |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:o:netapp:clustered_data_ontap:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions before 5.6.32; 7.0.0 to before 7.0.25; 7.1.0 to before 7.1.11 Vulnerable ·PHP
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:o:netapp:clustered_data_ontap:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
Remediation
Red Hat 2 advisories
- RHSA-2019:2519 Released 2019-08-19 · Red Hat rating Moderaterh-php71-php security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php71-php-7.1.30-1.el7, rh-php71-php-bcmath-7.1.30-1.el7, rh-php71-php-cli-7.1.30-1.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php71-php-7.1.30-1.el7, rh-php71-php-bcmath-7.1.30-1.el7, rh-php71-php-cli-7.1.30-1.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php71-php-7.1.30-1.el7, rh-php71-php-bcmath-7.1.30-1.el7, rh-php71-php-cli-7.1.30-1.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-php71-php-7.1.30-1.el7, rh-php71-php-bcmath-7.1.30-1.el7, rh-php71-php-cli-7.1.30-1.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php71-php-7.1.30-1.el7, rh-php71-php-bcmath-7.1.30-1.el7, rh-php71-php-cli-7.1.30-1.el7 +26
- RHSA-2018:1296 Released 2018-05-03 · Red Hat rating Moderaterh-php70-php security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-php70-php-7.0.27-1.el6, rh-php70-php-bcmath-7.0.27-1.el6, rh-php70-php-cli-7.0.27-1.el6 +28
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-php70-php-7.0.27-1.el6, rh-php70-php-bcmath-7.0.27-1.el6, rh-php70-php-cli-7.0.27-1.el6 +28
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-php70-php-7.0.27-1.el6, rh-php70-php-bcmath-7.0.27-1.el6, rh-php70-php-cli-7.0.27-1.el6 +28
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:1296, RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:1296, RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2018:1296, RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:1296, RHSA-2019:2519 |
Timeline
- 2026-10-02 Threatist record created from CVE-2017-16642
- 2026-10-03 Alias added: GHSA-3r8x-r93p-fr32
References
Exploit 1
Patch 2
Sources
- CVE-2017-16642 · CVE Program
- CVE-2017-16642 · NVD
- FIRST EPSS
- GHSA-3r8x-r93p-fr32 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-16642 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences