CVE-2018-7584
Vulnerability Summary
Timeline
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 Metrics
- v3.0•CRITICAL•Score: 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 83.07%• Percentile: 99%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected Systems
- canonical•ubuntu_linux
12.04 | 14.04 | 16.04 | 17.10
- debian•debian_linux
7.0 | 8.0 | 9.0
- Unknown•PHP
≤ 5.6.33 | ≥ 7.0.0, < 7.0.28 | ≥ 7.1.0, ≤ 7.1.14 | ≥ 7.2.0, ≤ 7.2.2
References (14)
- https://usn.ubuntu.com/3600-1/
- https://www.debian.org/security/2018/dsa-4240
- https://bugs.php.net/bug.php?id=75981
- https://lists.debian.org/debian-lts-announce/2018/03/msg00030.html
- https://www.tenable.com/security/tns-2018-12
- https://www.tenable.com/security/tns-2018-03
- http://www.securitytracker.com/id/1041607
- https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba
- https://www.exploit-db.com/exploits/44846/
- http://php.net/ChangeLog-7.php
- https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html
- https://usn.ubuntu.com/3600-2/
- http://www.securityfocus.com/bid/103204
- https://access.redhat.com/errata/RHSA-2019:2519