CVE-2018-1000005

libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handling HTTP/2 trailers

published January 24, 2018

CVSS
—
EPSS
5%
Percentile
91.6
In the wild
Unconfirmed
What it is

⚠️ A tricky out-of-bounds read in libcurl is causing some unexpected chaos! If the trailer's size isn’t just right, it could lead to crashes or even leakage of sensitive information. 😱 Think of it like a waiter misplacing an order because they don’t bother with the right measurements; if they grab too much from the kitchen, it could lead to an overflow of food on the table, causing a messy situation! In this scenario, an attacker could trigger a denial-of-service by crashing the service, or worse, expose sensitive data if the application echoes back the problematic trailers. It's a surprising vulnerability that could open your doors to unwanted guests!

Put simply

Think of it like a waiter misplacing an order because they don’t bother with the right measurements; if they grab too much from the kitchen, it could lead to an overflow of food on the table, causing a messy situation! This vulnerability in libcurl (versions 7.49.0 to 7.57.0) stems from an out-of-bounds read when handling HTTP/2 trailers due to a mismatch in size calculations after a recent change in the code. The faulty math can lead to either crashes or the unintended passing of oversized data to clients.

What to do

In this scenario, an attacker could trigger a denial-of-service by crashing the service, or worse, expose sensitive data if the application echoes back the problematic trailers. It's a surprising vulnerability that could open your doors to unwanted guests! To safeguard against this vulnerability, update libcurl to version 7.58.0 or later as soon as possible. Additionally, review your HTTP/2 trailer handling logic to ensure proper size checks are implemented. Let's keep those tables tidy! You can fix this! Patch up and secure your services, and you’ll be the hero of the day! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04556 · 91.6th percentile
Published
2018-01-24T22:00Z
EPSS history
Timeline
  • 24 JAN 22:00Z
    libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handling HTTP/2 trailers
    cvelistv5