Missing Encryption of Sensitive Data in cURL - CVE-2023-46219

 

Missing Encryption of Sensitive Data in cURL - CVE-2023-46219

Published: December 6, 2023


Vulnerability identifier: #VU83899
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-46219
CWE-ID: CWE-311
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: curl.haxx.se
Affected software:
cURL

Detailed vulnerability description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to an error when handling HSTS long file names. When saving HSTS data to an excessively long file name, curl can end up removing all contents from the file, making subsequent requests using that file unaware of the HSTS status they should otherwise use. As a result, a remote attacker can perform MitM attack.


How to mitigate CVE-2023-46219

Install updates from vendor's website.

Sources