Schwachstellen / CVE-2018-1000005

kritisch

CVE-2018-1000005

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

Veröffentlicht Geändert CWE 125
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

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

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut Amazon (hoch), Ubuntu (mittel), Red Hat (niedrig).

Beschreibung

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.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
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 und 1 weitere7.53.1-14.81.amzn1
amazon linux 2curl, curl-debuginfo, libcurl und 1 weitere7.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
Alle 24 Einträge aus 18 Quellen zeigen
QuellePaketBehoben in
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

Referenzen

Alle 10 Referenzen

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.