p PatchFirst

CVE-2022-32205

CVE-2022-32205

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.3 · Medium · EPSS 31.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • https://github.com/curl/curl

    Versions
    • Fixed in 7.84.0: Affected

    No fix published

  • curl Debian:12

    Affected ranges
    • ECOSYSTEM: < 7.84.0-1

    Update to 7.84.0-1

  • curl Debian:13

    Affected ranges
    • ECOSYSTEM: < 7.84.0-1

    Update to 7.84.0-1

  • curl Debian:14

    Affected ranges
    • ECOSYSTEM: < 7.84.0-1

    Update to 7.84.0-1

  • curl Ubuntu:22.04:LTS

    Versions
    • 7.74.0-1.3ubuntu2
    • 7.74.0-1.3ubuntu3
    • 7.80.0-3
    • 7.81.0-1
    • 7.81.0-1ubuntu1.1
    • 7.81.0-1ubuntu1.2
    Affected ranges
    • ECOSYSTEM: < 7.81.0-1ubuntu1.3

    Update to 7.81.0-1ubuntu1.3

Original sources

Check your server →