What’s Vulnerable › Vulnerabilities

CVE-2022-32205

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

How to fix

Upgrade to a fixed version: Apple macOS 13.0; curl 7.84.0; Siemens Scalance Sc622-2C Firmware 3.0; Siemens Scalance Sc626-2C Firmware 3.0; Siemens Scalance Sc632-2C Firmware 3.0; Siemens Scalance Sc636-2C Firmware 3.0; Siemens Scalance Sc642-2C Firmware 3.0; Siemens Scalance Sc646-2C Firmware 3.0; Splunk Universal Forwarder 8.2.12, 9.0.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-32205 or the next vulnerability affects your stack