CVE-2022-32205

curl: Set-Cookie denial of service

Published Jul 7, 2022 CVSS 3.1 · 4.3 Medium EPSS 31.5% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5197-1 curl security update
Ubuntu USN Ubuntu USN USN-5495-1 curl vulnerabilities
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Oct 14, 2026, 4:33 PM
Reserved
Jun 1, 2022, 12:00 AM
Status
Modified
Published
Jul 7, 2022, 1:15 PM
Modified
Oct 14, 2026, 5:17 PM
Severity
Low
Public date
Jun 27, 2022, 12:00 AM