Vulnerability · Published Jul 7, 2022 · Assigned by hackerone
CVE-2022-32205
Medium 4.3
In plain English
A medium-severity resource allocation without limits in https://github.com/curl/curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 31.5% (higher than 98% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | curl | 7.84.0-r0 | ALPINE-CVE-2022-32205 |
| Alpine:v3.21 | curl | 7.84.0-r0 | ALPINE-CVE-2022-32205 |
| Alpine:v3.22 | curl | 7.84.0-r0 | ALPINE-CVE-2022-32205 |
| Alpine:v3.23 | curl | 7.84.0-r0 | ALPINE-CVE-2022-32205 |
| Alpine:v3.24 | curl | 7.84.0-r0 | ALPINE-CVE-2022-32205 |
| Debian:12 | curl | 7.84.0-1 | DEBIAN-CVE-2022-32205 |
| Debian:13 | curl | 7.84.0-1 | DEBIAN-CVE-2022-32205 |
| Debian:14 | curl | 7.84.0-1 | DEBIAN-CVE-2022-32205 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.3 | UBUNTU-CVE-2022-32205 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.3 | USN-5495-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/curl/curl | Fixed in 7.84.0 |
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- https://hackerone.com/reports/1569946
- FEDORA-2022-1b3d7f6973 vendor-advisory
- DSA-5197 vendor-advisory
- https://security.netapp.com/advisory/ntap-20220915-0003/
- https://support.apple.com/kb/HT213488
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- https://cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf
- GLSA-202212-01 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-333517.html
- https://cert-portal.siemens.com/productcert/html/ssa-419740.html
- https://cert-portal.siemens.com/productcert/html/ssa-558014.html
- https://cert-portal.siemens.com/productcert/html/ssa-942865.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html