CVE-2018-1000005
Summary
| CVE | CVE-2018-1000005 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-01-24 22:29:00 UTC |
| Updated | 2019-06-18 22:15:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| curl - HTTP/2 trailer out-of-bounds read - CVE-2018-1000005 |
CONFIRM |
curl.haxx.se |
Patch, Vendor Advisory |
| Red Hat Customer Portal |
REDHAT |
access.redhat.com |
|
| Debian -- Security Information -- DSA-4098-1 curl |
DEBIAN |
www.debian.org |
Third Party Advisory |
| USN-3554-1: curl vulnerabilities | Ubuntu security notices |
UBUNTU |
usn.ubuntu.com |
Third Party Advisory |
| http2.c: fix incorrect trailer buffer size by ZhouyihaiDing · Pull Request #2231 · curl/curl · GitHub |
CONFIRM |
github.com |
Issue Tracking, Patch, Third Party Advisory |
| cURL HTTP/2 Trailer Processor Out-of-Bound Memory Read Error Lets Remote Users Deny Service or Obtain Potentially Sensitive Information - SecurityTracker |
SECTRACK |
www.securitytracker.com |
Third Party Advisory, VDB Entry |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 710294 Gentoo Linux cURL Multiple Vulnerabilities (GLSA 201804-04)