Vulnérabilités / CVE-2018-1000005

critique

CVE-2018-1000005

curl: Out-of-bounds read in code handling HTTP/2 trailers

Publiée Modifiée CWE 125
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

NVD9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Red Hat4.8CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon Amazon (élevée), Ubuntu (moyenne), Red Hat (faible).

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
alpine 3.4curl7.58.0-r0
alpine 3.5curl7.58.0-r0
alpine 3.6curl7.58.0-r0
alpine 3.7curl7.58.0-r0
amazon linux 1curl, curl-debuginfo, libcurl et 1 autres7.53.1-14.81.amzn1
amazon linux 2curl, curl-debuginfo, libcurl et 1 autres7.55.1-9.amzn2.0.1
debian 11curl7.58.0-1
debian 12curl7.58.0-1
debian 13curl7.58.0-1
debian 14curl7.58.0-1
debian 9curl7.52.1-5+deb9u4
echocurl7.58.0-1
Afficher les 24 entrées de 18 sources
SourcePaquetCorrigé en
alpine 3.4curl7.58.0-r0
alpine 3.5curl7.58.0-r0
alpine 3.6curl7.58.0-r0
alpine 3.7curl7.58.0-r0
amazon linux 1curl7.53.1-14.81.amzn1
amazon linux 1curl-debuginfo7.53.1-14.81.amzn1
amazon linux 1libcurl7.53.1-14.81.amzn1
amazon linux 1libcurl-devel7.53.1-14.81.amzn1
amazon linux 2curl7.55.1-9.amzn2.0.1
amazon linux 2curl-debuginfo7.55.1-9.amzn2.0.1
amazon linux 2libcurl7.55.1-9.amzn2.0.1
amazon linux 2libcurl-devel7.55.1-9.amzn2.0.1
debian 11curl7.58.0-1
debian 12curl7.58.0-1
debian 13curl7.58.0-1
debian 14curl7.58.0-1
debian 9curl7.52.1-5+deb9u4
echocurl7.58.0-1
root.io debian 11rootio-curl7.58.0-1
root.io debian 12rootio-curl7.58.0-1
root.io debian 13rootio-curl7.58.0-1
ubuntu 16.04curl7.47.0-1ubuntu2.6
ubuntu 16.04-ESMcurl7.47.0-1ubuntu2.6
ubuntu 17.10curl7.55.1-1ubuntu2.3

Références

Les 10 références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.