What’s Vulnerable › Vulnerabilities

CVE-2023-38039

Description

When curl retrieves an HTTP response, it stores the incoming headers so that they can be accessed later via the libcurl headers API. However, curl did not have a limit in how many or how large headers it would accept in a response, allowing a malicious server to stream an endless series of headers and eventually cause curl to run out of heap memory.

Affected products

How to fix

Upgrade to a fixed version: curl 8.3.0; Microsoft Windows 10 10.0.17763.5122; Microsoft Windows 10 10.0.19044.3693; Microsoft Windows 10 10.0.19045.3693; Microsoft Windows 11 21H2 10.0.22000.2600; Microsoft Windows 11 10.0.22621.2715; Microsoft Windows 11 10.0.22631.2715; Microsoft Windows Server 2019 10.0.17763.5122; Microsoft Windows Server 2022 10.0.20348.2113; curl 8.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-38039 or the next vulnerability affects your stack