CVE-2022-32205

Name
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://hackerone.com/reports/1569946
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/
Third Party Advisory https://www.debian.org/security/2022/dsa-5197
Third Party Advisory https://security.netapp.com/advisory/ntap-20220915-0003/
Third Party Advisory https://support.apple.com/kb/HT213488
FULLDISC http://seclists.org/fulldisclosure/2022/Oct/41
Mailing List http://seclists.org/fulldisclosure/2022/Oct/28
Patch https://cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf
Third Party Advisory https://security.gentoo.org/glsa/202212-01
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:* curl >= None < 7.84.0
cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:* curl >= 7.71.0 < 7.84.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
curl 3.13-main 7.79.1-r3 Natanael Copa <ncopa@alpinelinux.org> fixed