Vulnérabilités / CVE-2018-16840

critique

CVE-2018-16840

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

Publiée Modifiée CWE 416
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.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

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

Description

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
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
Afficher les 44 entrées de 36 sources
SourcePaquetCorrigé en
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-curlpas de correctif indiqué
Red Hathttpd24-libcurlpas de correctif indiqué
Red Hathttpd24-libcurl-develpas de correctif indiqué
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

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.