9.1
CRITICAL
CVE-2018-1000005
libcurl Out-of-Bounds Read Denial-of-Service/Information Disclosure
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.

INFO

Published Date :

Jan. 24, 2018, 10:29 p.m.

Last Modified :

June 18, 2019, 10:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.2

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2018-1000005 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Haxx curl
2 Haxx libcurl
1 Canonical ubuntu_linux
1 Debian debian_linux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-1000005.

URL Resource
http://www.securitytracker.com/id/1040273 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:1543
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/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4098 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-1000005 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-1000005 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jun. 18, 2019

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2019:1543 [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 25, 2019

    Action Type Old Value New Value
    Changed Reference Type https://usn.ubuntu.com/3554-1/ No Types Assigned https://usn.ubuntu.com/3554-1/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Mar. 21, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3554-1/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 09, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:N/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
    Changed Reference Type https://www.debian.org/security/2018/dsa-4098 No Types Assigned https://www.debian.org/security/2018/dsa-4098 Third Party Advisory
    Changed Reference Type http://www.securitytracker.com/id/1040273 No Types Assigned http://www.securitytracker.com/id/1040273 Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/curl/curl/pull/2231 No Types Assigned https://github.com/curl/curl/pull/2231 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://curl.haxx.se/docs/adv_2018-824a.html No Types Assigned https://curl.haxx.se/docs/adv_2018-824a.html Patch, Vendor Advisory
    Added CWE CWE-125
    Added CPE Configuration OR *cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:* versions from (including) 7.49.0 up to (including) 7.57.0
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 28, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4098 [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 26, 2018

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1040273 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-1000005 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-1000005 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.65 }} -0.01%

score

0.77220

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability