CVE-2022-32205 Denial of service in https://github.com/curl/curl

Medium 4.3 Published Updated

A malicious server can cause a denial of service in curl by sending excessive Set-Cookie headers, leading to request size errors.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-32205?

CVE-2022-32205 is a medium-severity denial of service vulnerability in Apple Macos, published on 7 Jul 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-770

Which versions are affected by CVE-2022-32205?

It affects 19 products.

Products include Apple Macos, Debian Debian Linux, Fedoraproject Fedora, Haxx Curl, Netapp Clustered Data Ontap, Netapp Element Software and 13 more.

How do I fix CVE-2022-32205?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-32205 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-32205 exists.

All Apple Macos vulnerabilities

Sources

Also known as ALPINE-CVE-2022-32205, AZL-10101, CLEANSTART-2026-IQ39304, CURL-CVE-2022-32205, DEBIAN-CVE-2022-32205, GHSA-9hhr-r3j8-h675 and 2 more.

Is CVE-2022-32205 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free