Skip to content
OpenAdvisories
Medium · 4.3 CVE-2022-32205 EUVD-2022-53411GHSA-9hhr-r3j8-h675

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 …

Published Jul 7, 2022 · Updated Oct 14, 2026 · Assigned by hackerone

Description

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.

Affected products

VendorProductAffectedFixed
— https://github.com/curl/curl Fixed in 7.84.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 7.84.0-1 —
Debian 13 curl 7.84.0-1 —
Debian 12 curl 7.84.0-1 —
Debian 11 curl 7.74.0-1.3+deb11u2 DSA-5197-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.3 USN-5495-1
Ubuntu 20.04 LTS curl 7.68.0-1ubuntu2.12 USN-5495-1
Ubuntu 18.04 LTS curl 7.58.0-2ubuntu3.19 USN-5495-1
ReleasePackageFixed inAdvisory
SLES 15 SP4 curl 7.79.1-150400.5.3.1 SUSE-SU-2022:2305-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 7.84.0-1.1 openSUSE-SU-2024:12214-1
openSUSE Leap 15.4 curl 7.79.1-150400.5.3.1 SUSE-SU-2022:2305-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 7.84.0-r0 —
Alpine v3.23 curl 7.84.0-r0 —
Alpine v3.22 curl 7.84.0-r0 —
Alpine v3.21 curl 7.84.0-r0 —
Alpine v3.20 curl 7.84.0-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 7.84.0-r0 —
Alpine v3.18 curl 7.84.0-r0 —
Alpine v3.17 curl 7.84.0-r0 —
Alpine v3.16 curl 7.83.1-r2 —
Alpine v3.15 curl 7.80.0-r2 —
Alpine v3.14 curl 7.79.1-r2 —
Alpine v3.13 curl 7.79.1-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083
Amazon Linux 2 curl +2 7.79.1-6.amzn2.0.1 ALAS2-2022-1875

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) curl 7.84.0-1 —

Advisories 26

References