CVE-2023-38039 Information

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.

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Reference

https://hackerone.com/reports/2072338 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEAWTYHC3RT6ZRS5OZRHLAIENVN6CCIS/ 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. cpe:2.3:a:haxx:curl::::::::

Attack Complexity

LOW

Privileges Required

NONE

User Interaction Required

NONE

Scope

NONE

Confidentiality Impact

UNCHANGED

Integrity Impact

NONE

Availability Impact

NONE

Base Score

HIGH

Base Severity

7.5

Share on: