National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-1000005 Detail

Current 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.

Source:  MITRE
Description Last Modified:  01/24/2018
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 9.1 CRITICAL
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (V3 legend)
Impact Score: 5.2
Exploitability Score: 3.9


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): High
Integrity (I): None
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 6.4 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:P) (V2 legend)
Impact Subscore: 4.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): None
Availability (A): Partial
Additional Information:
Allows unauthorized disclosure of information
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.securitytracker.com/id/1040273 Third Party Advisory VDB Entry
https://curl.haxx.se/docs/adv_2018-824a.html Patch Vendor Advisory
https://github.com/curl/curl/pull/2231 Issue Tracking Patch Third Party Advisory
https://usn.ubuntu.com/3554-1/
https://www.debian.org/security/2018/dsa-4098 Third Party Advisory

Technical Details

Vulnerability Type (View All)

Change History

4 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-1000005
NVD Published Date:
01/24/2018
NVD Last Modified:
03/20/2018