CVE-2018-7584
PHP 7.2.2 - 'php_stream_url_wrap_http_ex' Buffer Overflow
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
En PHP hasta la versión 5.6.33, versiones 7.0.x anteriores a la 7.0.28, versiones 7.1.x hasta la 7.1.14 y versiones 7.2.x hasta la 7.2.2, hay una sublectura de búfer basada en pila al analizar una respuesta HTTP en la función php_stream_url_wrap_http_ex en ext/standard/http_fopen_wrapper.c. Esto resulta en la copia de una cadena larga.
PHP version 7.2.2 contains a memory corruption bug while parsing malformed HTTP response packets.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2018-03-01 CVE Reserved
- 2018-03-01 CVE Published
- 2024-06-04 EPSS Updated
- 2024-08-05 CVE Updated
- 2024-08-05 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-125: Out-of-bounds Read
CAPEC
References (16)
URL | Tag | Source |
---|---|---|
http://php.net/ChangeLog-7.php | Release Notes | |
http://www.securityfocus.com/bid/103204 | Third Party Advisory | |
http://www.securitytracker.com/id/1041607 | Third Party Advisory | |
https://bugs.php.net/bug.php?id=75981 | Issue Tracking | |
https://lists.debian.org/debian-lts-announce/2018/03/msg00030.html | Mailing List | |
https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html | Mailing List | |
https://www.tenable.com/security/tns-2018-03 | Third Party Advisory | |
https://www.tenable.com/security/tns-2018-12 | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://www.exploit-db.com/exploits/44846 | 2024-08-05 |
URL | Date | SRC |
---|---|---|
https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba | 2019-08-19 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/errata/RHSA-2019:2519 | 2019-08-19 | |
https://usn.ubuntu.com/3600-1 | 2019-08-19 | |
https://usn.ubuntu.com/3600-2 | 2019-08-19 | |
https://www.debian.org/security/2018/dsa-4240 | 2019-08-19 | |
https://access.redhat.com/security/cve/CVE-2018-7584 | 2020-03-31 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1551039 | 2020-03-31 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | <= 5.6.33 Search vendor "Php" for product "Php" and version " <= 5.6.33" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | >= 7.0.0 < 7.0.28 Search vendor "Php" for product "Php" and version " >= 7.0.0 < 7.0.28" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | >= 7.1.0 <= 7.1.14 Search vendor "Php" for product "Php" and version " >= 7.1.0 <= 7.1.14" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | >= 7.2.0 <= 7.2.2 Search vendor "Php" for product "Php" and version " >= 7.2.0 <= 7.2.2" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 12.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "12.04" | esm |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 14.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "14.04" | lts |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 16.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "16.04" | lts |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 17.10 Search vendor "Canonical" for product "Ubuntu Linux" and version "17.10" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 7.0 Search vendor "Debian" for product "Debian Linux" and version "7.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 8.0 Search vendor "Debian" for product "Debian Linux" and version "8.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 9.0 Search vendor "Debian" for product "Debian Linux" and version "9.0" | - |
Affected
|