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…

published March 1, 2018

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.8th percentile for exploit probability.

CVSS
—
EPSS
87%
Percentile
99.8
In the wild
Unconfirmed
What it is

⚠️ A sneaky stack-based buffer under-read is lurking in PHP versions up to 7.2.2, just waiting for the right HTTP response to make its move! 😱 Think of it like a waiter trying to serve a dish from a menu that has been half-erased; they might end up giving you something completely unexpected! 🍽️ While the vulnerability is classified as unknown severity, it can lead to bizarre behavior in PHP applications. An attacker could exploit this flaw to cause unexpected crashes or data corruption, leaving your app in disarray if they find a way to trigger it.

Put simply

Think of it like a waiter trying to serve a dish from a menu that has been half-erased; they might end up giving you something completely unexpected! 🍽️ The vulnerability lies in the php_stream_url_wrap_http_ex function in ext/standard/http_fopen_wrapper.c, where a stack-based buffer under-read allows for copying large strings improperly, leading to potentially damaging results.

What to do

While the vulnerability is classified as unknown severity, it can lead to bizarre behavior in PHP applications. An attacker could exploit this flaw to cause unexpected crashes or data corruption, leaving your app in disarray if they find a way to trigger it. To safeguard against this vulnerability, update PHP to at least version 7.0.28 or any version beyond 7.2.2. Regularly audit your PHP installations and ensure you're not using outdated versions that could harbor this and other issues. You’ve got this! Keep your PHP updated and secure, and you’ll be a security hero in no time! 🦸‍♂️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.87348 · 99.8th percentile
Published
2018-03-01T18:00Z
EPSS history
Timeline
  • 01 MAR 18:00Z
    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…
    cvelistv5