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.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2018-7584 from the MITRE CVE dictionary dictionary and NIST NVD.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 5.9 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Attack Vector | Network |
Attack Complexity | High |
Privileges Required | None |
User Interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity Impact | None |
Availability Impact | High |
Platform | Package | State |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux | rh-php70-php | Affected |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-php56-php | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-php71-php | Affected |
Red Hat Enterprise Linux 7 | php | Affected |
Red Hat Enterprise Linux 6 | php | Affected |
Red Hat Enterprise Linux 5 | php53 | Will not fix |
Red Hat Enterprise Linux 5 | php | Will not fix |