Vulnerability · Published Jul 7, 2022 · Assigned by hackerone
CVE-2022-32206
Medium 6.5
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 36.3% (higher than 98% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
curl < 7.84.0 supports "chained" HTTP compression algorithms, meaning that a serverresponse can be compressed multiple times and potentially with different algorithms. The number of acceptable "links" in this "decompression chain" was unbounded, allowing a malicious server to insert a virtually unlimited number of compression steps.The use of such a decompression chain could result in a "malloc bomb", makingcurl end up spending enormous amounts of allocated heap memory, or trying toand returning out of memory errors.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | curl | 7.61.1-22.el8_6.4 | ALSA-2022:6159 |
| AlmaLinux:9 | curl | 7.76.1-14.el9_0.5 | ALSA-2022:6157 |
| AlmaLinux:9 | curl-minimal | 7.76.1-14.el9_0.5 | ALSA-2022:6157 |
| AlmaLinux:8 | libcurl | 7.61.1-22.el8_6.4 | ALSA-2022:6159 |
| AlmaLinux:9 | libcurl | 7.76.1-14.el9_0.5 | ALSA-2022:6157 |
| AlmaLinux:8 | libcurl-devel | 7.61.1-22.el8_6.4 | ALSA-2022:6159 |
| AlmaLinux:9 | libcurl-devel | 7.76.1-14.el9_0.5 | ALSA-2022:6157 |
| AlmaLinux:8 | libcurl-minimal | 7.61.1-22.el8_6.4 | ALSA-2022:6159 |
| AlmaLinux:9 | libcurl-minimal | 7.76.1-14.el9_0.5 | ALSA-2022:6157 |
| Alpine:v3.20 | curl | 7.84.0-r0 | ALPINE-CVE-2022-32206 |
| Alpine:v3.21 | curl | 7.84.0-r0 | ALPINE-CVE-2022-32206 |
| Alpine:v3.22 | curl | 7.84.0-r0 | ALPINE-CVE-2022-32206 |
| Alpine:v3.23 | curl | 7.84.0-r0 | ALPINE-CVE-2022-32206 |
| Alpine:v3.24 | curl | 7.84.0-r0 | ALPINE-CVE-2022-32206 |
| Debian:12 | curl | 7.84.0-1 | DEBIAN-CVE-2022-32206 |
| Debian:13 | curl | 7.84.0-1 | DEBIAN-CVE-2022-32206 |
| Debian:14 | curl | 7.84.0-1 | DEBIAN-CVE-2022-32206 |
| Rocky Linux:8 | curl | 0:7.61.1-22.el8_6.4 | RLSA-2022:6159 |
| Rocky Linux:9 | curl | 0:7.76.1-14.el9_0.5 | RLSA-2022:6157 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.3 | USN-5495-1 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.3 | UBUNTU-CVE-2022-32206 |
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:H
References
- https://hackerone.com/reports/1570651
- FEDORA-2022-1b3d7f6973 vendor-advisory
- DSA-5197 vendor-advisory
- [debian-lts-announce] 20220828 [SECURITY] [DLA 3085-1] curl security update mailing-list
- 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
- [oss-security] 20230215 curl: CVE-2023-23916: HTTP multi-header compression denial of service mailing-list
- 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