CVE-2018-1000005 Information disclosure in n/a

Critical 9.1 Published Updated

Out-of-bounds read in libcurl HTTP/2 trailer handling allows attackers to cause crashes or disclose sensitive memory contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1000005?

CVE-2018-1000005 is a critical vulnerability in Canonical Ubuntu Linux, published on 24 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handling HTTP/2 trailers. It was reported (https://github.com/curl/curl/pull/2231) that reading an HTTP/2 trailer could mess up future trailers since the stored size was one byte less than required. The problem is that the code that creates HTTP/1-like headers from the HTTP/2 trailer data once appended a string like `:` to the target buffer, while this was recently changed to `: ` (a space was added after the colon) but the following math wasn't updated correspondingly. When accessed, the data is read out of bounds and causes either a crash or that the (too large) data gets passed to client write. This could lead to a denial-of-service situation or an information disclosure if someone has a service that echoes back or uses the trailers for something.

Weakness: CWE-125

Which versions are affected by CVE-2018-1000005?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Haxx Libcurl.

How do I fix CVE-2018-1000005?

Upgrade to a fixed version.

Is CVE-2018-1000005 being exploited?

There is no known exploitation of CVE-2018-1000005 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-1000005, CURL-CVE-2018-1000005, DEBIAN-CVE-2018-1000005, GHSA-cj8j-r7q8-xg4f, UBUNTU-CVE-2018-1000005.

Is CVE-2018-1000005 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free