Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
curl (PTS) | jessie, jessie (lts) | 7.38.0-4+deb8u28 | fixed |
stretch (security) | 7.52.1-5+deb9u16 | fixed | |
stretch (lts), stretch | 7.52.1-5+deb9u22 | fixed | |
buster, buster (lts) | 7.64.0-4+deb10u10 | fixed | |
buster (security) | 7.64.0-4+deb10u9 | fixed | |
bullseye | 7.74.0-1.3+deb11u13 | fixed | |
bullseye (security) | 7.74.0-1.3+deb11u14 | fixed | |
bookworm | 7.88.1-10+deb12u8 | fixed | |
bookworm (security) | 7.88.1-10+deb12u5 | fixed | |
sid, trixie | 8.11.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
curl | source | jessie | (not affected) | |||
curl | source | stretch | (not affected) | |||
curl | source | buster | (not affected) | |||
curl | source | bullseye | (not affected) | |||
curl | source | bookworm | 7.88.1-10+deb12u3 | |||
curl | source | (unstable) | 8.3.0-1 |
[bullseye] - curl <not-affected> (Vulnerable code not present)
[buster] - curl <not-affected> (Vulnerable code not present)
https://www.openwall.com/lists/oss-security/2023/09/13/1
https://curl.se/docs/CVE-2023-38039.html
Introduced by: https://github.com/curl/curl/commit/7c8c723682d524ac9580b9ca3b71419163cb5660 (curl-7_83_0)
Experimental tag removed in: https://github.com/curl/curl/commit/4d94fac9f0d1dd02b8308291e4c47651142dc28b (curl-7_84_0)
Fixed by: https://github.com/curl/curl/commit/3ee79c1674fd6f99e8efca52cd7510e08b766770 (curl-8_3_0)
[stretch] - curl <not-affected> (Vulnerable code not present)
[jessie] - curl <not-affected> (Vulnerable code not present)