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      Last Modified:  01/24/2018      View Analysis Description

Quick Info

CVE Dictionary Entry:
CVE-2018-1000005
Original release date:
01/24/2018
Last revised:
02/09/2018
Source:
US-CERT/NIST

Impact

CVSS Severity (version 3.0):
CVSS v3 Base Score:
9.1 Critical
Vector:
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (legend)
Impact Score:
5.2
Exploitability Score:
3.9
CVSS Version 3 Metrics:
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 Severity (version 2.0):
CVSS v2 Base Score:
6.4 MEDIUM
Vector:
(AV:N/AC:L/Au:N/C:P/I:N/A:P) (legend)
Impact Subscore:
4.9
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Low
Authentication:
Not required to exploit
Impact Type:
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 Type Source Name
http://www.securitytracker.com/id/1040273 Third Party Advisory; VDB Entry External Source SECTRACK 1040273
https://curl.haxx.se/docs/adv_2018-824a.html Patch; Vendor Advisory External Source CONFIRM https://curl.haxx.se/docs/adv_2018-824a.html
https://github.com/curl/curl/pull/2231 Issue Tracking; Patch; Third Party Advisory External Source CONFIRM https://github.com/curl/curl/pull/2231
https://www.debian.org/security/2018/dsa-4098 Third Party Advisory External Source DEBIAN DSA-4098

Technical Details

Vulnerability Type (View All)

Change History 3 change records found - show changes