Vulnerability · Published Dec 12, 2023 · Assigned by hackerone

CVE-2023-46219

Medium 5.3

In plain English

A medium-severity security flaw in curl from curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.1%top 33.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

When saving HSTS data to an excessively long file name, curl could end up removing all contents, making subsequent requests using that file unaware of the HSTS status they should otherwise use.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl8.5.0-r0ALPINE-CVE-2023-46219
Alpine:v3.21curl8.5.0-r0ALPINE-CVE-2023-46219
Alpine:v3.22curl8.5.0-r0ALPINE-CVE-2023-46219
Alpine:v3.23curl8.5.0-r0ALPINE-CVE-2023-46219
Alpine:v3.24curl8.5.0-r0ALPINE-CVE-2023-46219
Debian:12curl7.88.1-10+deb12u5DEBIAN-CVE-2023-46219
Debian:13curl8.5.0-1DEBIAN-CVE-2023-46219
Debian:14curl8.5.0-1DEBIAN-CVE-2023-46219
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.15USN-6535-1
Ubuntu:24.04:LTScurl8.5.0-2ubuntu1UBUNTU-CVE-2023-46219

Affected products (as reported)

VendorProductVersions
curl curl 8.4.0 – through 8.4.0

Weakness: CWE-311 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References