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.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)36.3%top 1.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:8curl7.61.1-22.el8_6.4ALSA-2022:6159
AlmaLinux:9curl7.76.1-14.el9_0.5ALSA-2022:6157
AlmaLinux:9curl-minimal7.76.1-14.el9_0.5ALSA-2022:6157
AlmaLinux:8libcurl7.61.1-22.el8_6.4ALSA-2022:6159
AlmaLinux:9libcurl7.76.1-14.el9_0.5ALSA-2022:6157
AlmaLinux:8libcurl-devel7.61.1-22.el8_6.4ALSA-2022:6159
AlmaLinux:9libcurl-devel7.76.1-14.el9_0.5ALSA-2022:6157
AlmaLinux:8libcurl-minimal7.61.1-22.el8_6.4ALSA-2022:6159
AlmaLinux:9libcurl-minimal7.76.1-14.el9_0.5ALSA-2022:6157
Alpine:v3.20curl7.84.0-r0ALPINE-CVE-2022-32206
Alpine:v3.21curl7.84.0-r0ALPINE-CVE-2022-32206
Alpine:v3.22curl7.84.0-r0ALPINE-CVE-2022-32206
Alpine:v3.23curl7.84.0-r0ALPINE-CVE-2022-32206
Alpine:v3.24curl7.84.0-r0ALPINE-CVE-2022-32206
Debian:12curl7.84.0-1DEBIAN-CVE-2022-32206
Debian:13curl7.84.0-1DEBIAN-CVE-2022-32206
Debian:14curl7.84.0-1DEBIAN-CVE-2022-32206
Rocky Linux:8curl0:7.61.1-22.el8_6.4RLSA-2022:6159
Rocky Linux:9curl0:7.76.1-14.el9_0.5RLSA-2022:6157
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.3USN-5495-1
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.3UBUNTU-CVE-2022-32206

Affected products (as reported)

VendorProductVersions
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