CVE-2018-1000005

CVSS V2 Medium 6.4 CVSS V3 Critical 9.1
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.
Overview
  • CVE ID
  • CVE-2018-1000005
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Modified
  • Published Version
  • 2018-01-24T22:29:00
  • Last Modified Date
  • 2019-06-18T22:15:11
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:* 1 OR 7.49.0 7.57.0
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* 1 OR
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* 1 OR
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:N/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • NONE
  • Availability Impact
  • PARTIAL
  • Base Score
  • 6.4
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 4.9
CVSS Version 3
  • Version
  • 3.0
  • Vector String
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.1
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.2
References
Reference URL Reference Tags
https://github.com/curl/curl/pull/2231 Issue Tracking Patch Third Party Advisory
https://curl.haxx.se/docs/adv_2018-824a.html Patch Vendor Advisory
http://www.securitytracker.com/id/1040273 Third Party Advisory VDB Entry
https://www.debian.org/security/2018/dsa-4098 Third Party Advisory
https://usn.ubuntu.com/3554-1/ Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1543
History
Created Old Value New Value Data Type Notes
2022-05-10 07:50:01 Added to TrackCVE
2022-12-03 01:28:23 2018-01-24T22:29Z 2018-01-24T22:29:00 CVE Published Date updated
2022-12-03 01:28:23 2019-06-18T22:15:11 CVE Modified Date updated
2022-12-03 01:28:23 Modified Vulnerability Status updated