CVE-2023-46219
JSON

5.3medium

HSTS long filename clears contents

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
1.13% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
CURL-CVE-2023-46219

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

Product or packageVersionsReported by
curl curlfrom 8.4.0 up to 8.4.0
Not affected: from 7.84.0 before 7.84.0
CVE List
https://github.com/curl/curl.gitfrom 7.84.0 before 8.5.0, from 20f9dd6bae50b7223171b17ba7798946e74f877f before 73b65e94f3531179de45c6f3c836a610e3d0a846curl
haxx curlfrom 7.84.0 before 8.5.0NVD
fedoraproject fedora38NVD

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
curllow rating
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-311

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

curl

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

NVD (es)

Al guardar datos HSTS en un nombre de archivo excesivamente largo, curl podría terminar eliminando todo el contenido, haciendo que las solicitudes posteriores que utilicen ese archivo desconozcan el estado HSTS que de otro modo deberían usar.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-46219 changed 2026-10-15CVE Terms of Use
curlCURL-CVE-2023-46219 changed 2026-10-25MIT
NVDCVE-2023-46219 changed 2026-06-17Public domain