CVE-2018-7584
In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while parsing an HTTP response in the php_stream_url_wrap_http_ex function in ext/standard/http_fopen_wrapper.c.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 87.3%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
Description
In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while parsing an HTTP response in the php_stream_url_wrap_http_ex function in ext/standard/http_fopen_wrapper.c. This subsequently results in copying a large string.
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 87.35% probability · 100th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- php/php · canonical/ubuntu linux · debian/debian linux
- Source
- cve@mitre.org
References
- http://php.net/ChangeLog-7.phpRelease Notes
- http://www.securityfocus.com/bid/103204Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1041607Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:2519
- https://bugs.php.net/bug.php?id=75981Issue Tracking
- https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bbaPatch
- https://lists.debian.org/debian-lts-announce/2018/03/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/06/msg00005.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/3600-1/Third Party Advisory
- https://usn.ubuntu.com/3600-2/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4240Third Party Advisory
- https://www.exploit-db.com/exploits/44846/Exploit, Third Party Advisory, VDB Entry
- https://www.tenable.com/security/tns-2018-03Third Party Advisory
- https://www.tenable.com/security/tns-2018-12Third Party Advisory
- http://php.net/ChangeLog-7.phpRelease Notes
- http://www.securityfocus.com/bid/103204Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1041607Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:2519
- https://bugs.php.net/bug.php?id=75981Issue Tracking
- https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bbaPatch
- https://lists.debian.org/debian-lts-announce/2018/03/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/06/msg00005.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/3600-1/Third Party Advisory
- https://usn.ubuntu.com/3600-2/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4240Third Party Advisory
- https://www.exploit-db.com/exploits/44846/Exploit, Third Party Advisory, VDB Entry
- https://www.tenable.com/security/tns-2018-03Third Party Advisory
- https://www.tenable.com/security/tns-2018-12Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.