Schwachstellen / CVE-2018-16840

kritisch

CVE-2018-16840

curl: Use-after-free when closing "easy" handle in Curl_close()

Veröffentlicht Geändert CWE 416
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.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.0CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

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

Beschreibung

A heap use-after-free flaw was found in curl versions from 7.59.0 through 7.61.1 in the code related to closing an easy handle. When closing and cleaning up an 'easy' handle in the `Curl_close()` function, the library code first frees a struct (without nulling the pointer) and might then subsequently erroneously write to a struct field within that already freed struct.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
Photon OS 1.0curl7.59.0-4.ph1
Photon OS 2.0curl7.59.0-4.ph2
Photon OS 3.0curl7.61.1-2.ph3
alpine 3.10curl7.62.0-r0
alpine 3.11curl7.62.0-r0
alpine 3.12curl7.62.0-r0
alpine 3.13curl7.62.0-r0
alpine 3.14curl7.62.0-r0
alpine 3.15curl7.62.0-r0
alpine 3.16curl7.62.0-r0
alpine 3.17curl7.62.0-r0
alpine 3.18curl7.62.0-r0
Alle 44 Einträge aus 36 Quellen zeigen
QuellePaketBehoben in
Photon OS 1.0curl7.59.0-4.ph1
Photon OS 2.0curl7.59.0-4.ph2
Photon OS 3.0curl7.61.1-2.ph3
alpine 3.10curl7.62.0-r0
alpine 3.11curl7.62.0-r0
alpine 3.12curl7.62.0-r0
alpine 3.13curl7.62.0-r0
alpine 3.14curl7.62.0-r0
alpine 3.15curl7.62.0-r0
alpine 3.16curl7.62.0-r0
alpine 3.17curl7.62.0-r0
alpine 3.18curl7.62.0-r0
alpine 3.19curl7.62.0-r0
alpine 3.20curl7.62.0-r0
alpine 3.21curl7.62.0-r0
alpine 3.22curl7.62.0-r0
alpine 3.23curl7.62.0-r0
alpine 3.24curl7.62.0-r0
alpine 3.5curl7.61.1-r1
alpine 3.6curl7.61.1-r1
alpine 3.7curl7.61.1-r1
alpine 3.8curl7.61.1-r1
alpine 3.9curl7.62.0-r0
alpine edgecurl7.62.0-r0
amazon linux 1curl7.53.1-16.86.amzn1
amazon linux 1curl-debuginfo7.53.1-16.86.amzn1
amazon linux 1libcurl7.53.1-16.86.amzn1
amazon linux 1libcurl-devel7.53.1-16.86.amzn1
amazon linux 2curl7.61.1-9.amzn2.0.1
amazon linux 2curl-debuginfo7.61.1-9.amzn2.0.1
amazon linux 2libcurl7.61.1-9.amzn2.0.1
amazon linux 2libcurl-devel7.61.1-9.amzn2.0.1
debian 11curl7.62.0-1
debian 12curl7.62.0-1
debian 13curl7.62.0-1
debian 14curl7.62.0-1
echocurl7.62.0-1
Red Hathttpd24-curlkein Fix angegeben
Red Hathttpd24-libcurlkein Fix angegeben
Red Hathttpd24-libcurl-develkein Fix angegeben
root.io debian 11rootio-curl7.62.0-1
root.io debian 12rootio-curl7.62.0-1
root.io debian 13rootio-curl7.62.0-1
ubuntu 18.10curl7.61.0-1ubuntu2.2

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.