CVE-2018-7584
CRITICAL
9.8
CVSS 3.0
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.
Affected products and versions
- PHP — Up to and including 5.6.33
- PHP — From 7.0.0 (including) to 7.0.28 (excluding)
- PHP — From 7.1.0 (including) to 7.1.14 (including)
- PHP — From 7.2.0 (including) to 7.2.2 (including)
References
- php.net http://php.net/ChangeLog-7.php Release Notes
- www.securityfocus.com http://www.securityfocus.com/bid/103204 Third Party Advisory, VDB Entry
- www.securitytracker.com http://www.securitytracker.com/id/1041607 Third Party Advisory, VDB Entry
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:2519
- bugs.php.net https://bugs.php.net/bug.php?id=75981 Issue Tracking
- github.com https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba Patch
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/03/msg00030.html Mailing List, Third Party Advisory
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html Mailing List, Third Party Advisory
- usn.ubuntu.com https://usn.ubuntu.com/3600-1/ Third Party Advisory
- usn.ubuntu.com https://usn.ubuntu.com/3600-2/ Third Party Advisory
- www.debian.org https://www.debian.org/security/2018/dsa-4240 Third Party Advisory
- www.exploit-db.com https://www.exploit-db.com/exploits/44846/ Exploit, Third Party Advisory, VDB Entry
- www.tenable.com https://www.tenable.com/security/tns-2018-03 Third Party Advisory
- www.tenable.com https://www.tenable.com/security/tns-2018-12 Third Party Advisory
- nvd.nist.gov Official NVD record