FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

curl -- HTTP headers eat all memory

Affected packages
curl < 8.3.0

Details

VuXML ID 833b469b-5247-11ee-9667-080027f5fec9
Discovery 2023-09-13
Entry 2023-09-13

selmelc on hackerone reports:

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.

References

CVE Name CVE-2023-38039
URL https://curl.se/docs/CVE-2023-38039.html HERE