CVE-2022-32205

curl: A malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl < 7.84.0...

CVE-2022-32205 is fixed in 13 products on 1 platform, first by curl 7.81.0-1ubuntu1.3, released June 26, 2022. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
4.3
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.3150
98th percentile

A malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl < 7.84.0 stores all of them. A sufficiently large amount of (big) cookies make subsequent HTTP requests to this, or other servers to which the cookies match, create requests that become larger than the threshold that curl uses internally to avoid sending crazy large requests (1048576 bytes) and instead returns an error.This denial state might remain for as long as the same cookies are kept, match and haven't expired. Due to cookie matching rules, a server on `foo.example.com` can set cookies that also would match for `bar.example.com`, making it it possible for a "sister server" to effectively cause a denial of service for a sibling site on the same second level domain using this method.

Where it's fixed

ProductFixed inFixReleased
Linux
curl · Debian 12.15 (bookworm) 7.84.0-1 DEBIAN-CVE-2022-32205 Jul 7, 2022
curl · Debian 13.5 (trixie) 7.84.0-1 DEBIAN-CVE-2022-32205 Jul 7, 2022
curl · Debian 14 7.84.0-1 DEBIAN-CVE-2022-32205 Jul 7, 2022
curl · Ubuntu 22.04.1 LTS (jammy) 7.81.0-1ubuntu1.3 curl 7.81.0-1ubuntu1.3 Jun 26, 2022
curl · amzn 2023 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083 Feb 17, 2023
curl-debuginfo · amzn 2023 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083 Feb 17, 2023
curl-debugsource · amzn 2023 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083 Feb 17, 2023
curl-minimal · amzn 2023 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083 Feb 17, 2023
curl-minimal-debuginfo · amzn 2023 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083 Feb 17, 2023
libcurl · amzn 2023 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083 Feb 17, 2023
libcurl-debuginfo · amzn 2023 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083 Feb 17, 2023
libcurl-devel · amzn 2023 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083 Feb 17, 2023
libcurl-minimal · amzn 2023 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083 Feb 17, 2023
libcurl-minimal-debuginfo · amzn 2023 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083 Feb 17, 2023
libcurl3-gnutls · Ubuntu 22.04.1 LTS (jammy) 7.81.0-1ubuntu1.3 libcurl3-gnutls 7.81.0-1ubuntu1.3 Jun 26, 2022
libcurl3-nss · Ubuntu 22.04.1 LTS (jammy) 7.81.0-1ubuntu1.3 libcurl3-nss 7.81.0-1ubuntu1.3 Jun 26, 2022
libcurl4 · Ubuntu 22.04.1 LTS (jammy) 7.81.0-1ubuntu1.3 libcurl4 7.81.0-1ubuntu1.3 Jun 26, 2022

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.