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 package | Versions | Reported by |
|---|---|---|
| curl curl | from 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.git | from 7.84.0 before 8.5.0, from 20f9dd6bae50b7223171b17ba7798946e74f877f before 73b65e94f3531179de45c6f3c836a610e3d0a846 | curl |
| haxx curl | from 7.84.0 before 8.5.0 | NVD |
| fedoraproject fedora | 38 | NVD |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| curl | low rating | |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-46219 changed 2026-10-15 | CVE Terms of Use |
| curl | CURL-CVE-2023-46219 changed 2026-10-25 | MIT |
| NVD | CVE-2023-46219 changed 2026-06-17 | Public domain |