When curl retrieves an HTTP response, it stores the...
High severity
Unreviewed
Published
Sep 15, 2023
to the GitHub Advisory Database
•
Updated Apr 1, 2024
Description
Published by the National Vulnerability Database
Sep 15, 2023
Published to the GitHub Advisory Database
Sep 15, 2023
Last updated
Apr 1, 2024
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