CVE-2018-1000005Out-of-bounds Read in Libcurl

CWE-125Out-of-bounds Read10 documents8 sources
Severity
9.1CRITICALNVD
EPSS
0.3%
top 44.38%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 24
Latest updateMay 14

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 t

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HExploitability: 3.9 | Impact: 5.2

Affected Packages2 packages

NVDhaxx/libcurl7.49.07.57.0
Debianhaxx/curl< 7.58.0-1+3

Also affects: Debian Linux 8.0, 9.0, Ubuntu Linux 14.04, 16.04, 17.10

Patches

🔴Vulnerability Details

3
GHSA
GHSA-cj8j-r7q8-xg4f: libcurl 72022-05-14
CVEList
CVE-2018-1000005: libcurl 72018-01-24
OSV
CVE-2018-1000005: libcurl 72018-01-24

📋Vendor Advisories

3
Ubuntu
curl vulnerabilities2018-01-31
Red Hat
curl: Out-of-bounds read in code handling HTTP/2 trailers2018-01-24
Debian
CVE-2018-1000005: curl - libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handl...2018

💬Community

3
Bugzilla
CVE-2018-1000005 mingw-curl: curl: Out-of-bounds read in code handling HTTP/2 trailers [fedora-all]2019-04-15
Bugzilla
CVE-2018-1000005 curl: Out-of-bounds read in code handling HTTP/2 trailers [fedora-all]2019-04-15
Bugzilla
CVE-2018-1000005 curl: Out-of-bounds read in code handling HTTP/2 trailers2018-01-18
CVE-2018-1000005 — Out-of-bounds Read in Haxx Libcurl | cvebase