Bugzilla – Bug 1200735
VUL-0: CVE-2022-32206: curl: HTTP compression denial of service
Last modified: 2022-09-01 14:53:19 UTC
SUSE:SLE-12-SP4:Update and newers are affected. SUSE:SLE-12:Update and SLE11 not affected.
CVE-2022-32206: HTTP compression denial of service ================================================== Project curl Security Advisory, June 27th 2022 - [Permalink](https://curl.se/docs/CVE-2022-32206.html) VULNERABILITY ------------- curl supports "chained" HTTP compression algorithms, meaning that a server response 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", making curl end up spending enormous amounts of allocated heap memory, or trying to and returning out of memory errors. We are not aware of any exploit of this flaw. INFO ---- CVE-2022-32206 was introduced in [commit dbcced8e32b50c06](https://github.com/curl/curl/commit/dbcced8e32b50c06), shipped in curl 7.57.0. Automatic decompression of content needs to be enabled per transfer. It is disabled by default and then nothing bad happens. This flaw exists with just one of the compression algorithms built-in (gzip, brotli or zstd), but the individual algorithms has different "exploding" powers. Both `Content-Encoding:` and `Transfer-Encoding:` are affected. The vulnerability is more emphasized over HTTP/1 than HTTP/2 due to different curl internal header limits. CWE-770: Allocation of Resources Without Limits or Throttling Severity: Medium AFFECTED VERSIONS ----------------- - Affected versions: curl 7.57.0 to and including 7.83.1 - Not affected versions: curl < 7.57.0 and curl >= 7.84.0 libcurl is used by many applications, but not always advertised as such! THE SOLUTION ------------ The amount of accepted "chained" algorithms is now capped to 5. A [fix for CVE-2022-32206](https://github.com/curl/curl/commit/3a09fbb7f264c67c43) RECOMMENDATIONS -------------- A - Upgrade curl to version 7.84.0 B - Apply the patch to your local version C - Do not enable automatic decompression TIMELINE -------- This issue was reported to the curl project on May 15, 2022. We contacted distros@openwall on June 20. libcurl 7.84.0 was released on June 27 2022, coordinated with the publication of this advisory. CREDITS ------- This issue was reported by Harry Sintonen. Patched by Daniel Stenberg.
SUSE-SU-2022:2305-1: An update that fixes four vulnerabilities is now available. Category: security (important) Bug References: 1200734,1200735,1200736,1200737 CVE References: CVE-2022-32205,CVE-2022-32206,CVE-2022-32207,CVE-2022-32208 JIRA References: Sources used: openSUSE Leap 15.4 (src): curl-7.79.1-150400.5.3.1 SUSE Linux Enterprise Module for Basesystem 15-SP4 (src): curl-7.79.1-150400.5.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2288-1: An update that fixes two vulnerabilities is now available. Category: security (important) Bug References: 1200735,1200737 CVE References: CVE-2022-32206,CVE-2022-32208 JIRA References: Sources used: SUSE Linux Enterprise Software Development Kit 12-SP5 (src): curl-7.60.0-11.43.1 SUSE Linux Enterprise Server 12-SP5 (src): curl-7.60.0-11.43.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2327-1: An update that fixes two vulnerabilities is now available. Category: security (important) Bug References: 1200735,1200737 CVE References: CVE-2022-32206,CVE-2022-32208 JIRA References: Sources used: openSUSE Leap 15.3 (src): curl-7.66.0-150200.4.36.1 SUSE Manager Server 4.1 (src): curl-7.66.0-150200.4.36.1 SUSE Manager Retail Branch Server 4.1 (src): curl-7.66.0-150200.4.36.1 SUSE Manager Proxy 4.1 (src): curl-7.66.0-150200.4.36.1 SUSE Linux Enterprise Server for SAP 15-SP2 (src): curl-7.66.0-150200.4.36.1 SUSE Linux Enterprise Server 15-SP2-LTSS (src): curl-7.66.0-150200.4.36.1 SUSE Linux Enterprise Server 15-SP2-BCL (src): curl-7.66.0-150200.4.36.1 SUSE Linux Enterprise Module for Basesystem 15-SP3 (src): curl-7.66.0-150200.4.36.1 SUSE Linux Enterprise Micro 5.2 (src): curl-7.66.0-150200.4.36.1 SUSE Linux Enterprise Micro 5.1 (src): curl-7.66.0-150200.4.36.1 SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src): curl-7.66.0-150200.4.36.1 SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src): curl-7.66.0-150200.4.36.1 SUSE Enterprise Storage 7 (src): curl-7.66.0-150200.4.36.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
All was done. Sending back to security.
SUSE-SU-2022:2813-1: An update that fixes four vulnerabilities is now available. Category: security (important) Bug References: 1199223,1199224,1200735,1200737 CVE References: CVE-2022-27781,CVE-2022-27782,CVE-2022-32206,CVE-2022-32208 JIRA References: Sources used: SUSE OpenStack Cloud Crowbar 9 (src): curl-7.60.0-4.38.1 SUSE OpenStack Cloud 9 (src): curl-7.60.0-4.38.1 SUSE Linux Enterprise Server for SAP 12-SP4 (src): curl-7.60.0-4.38.1 SUSE Linux Enterprise Server 12-SP4-LTSS (src): curl-7.60.0-4.38.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2829-1: An update that fixes four vulnerabilities is now available. Category: security (important) Bug References: 1199223,1199224,1200735,1200737 CVE References: CVE-2022-27781,CVE-2022-27782,CVE-2022-32206,CVE-2022-32208 JIRA References: Sources used: SUSE Linux Enterprise Server for SAP 15-SP1 (src): curl-7.60.0-150000.33.1 SUSE Linux Enterprise Server for SAP 15 (src): curl-7.60.0-150000.33.1 SUSE Linux Enterprise Server 15-SP1-LTSS (src): curl-7.60.0-150000.33.1 SUSE Linux Enterprise Server 15-SP1-BCL (src): curl-7.60.0-150000.33.1 SUSE Linux Enterprise Server 15-LTSS (src): curl-7.60.0-150000.33.1 SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src): curl-7.60.0-150000.33.1 SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src): curl-7.60.0-150000.33.1 SUSE Linux Enterprise High Performance Computing 15-LTSS (src): curl-7.60.0-150000.33.1 SUSE Linux Enterprise High Performance Computing 15-ESPOS (src): curl-7.60.0-150000.33.1 SUSE Enterprise Storage 6 (src): curl-7.60.0-150000.33.1 SUSE CaaS Platform 4.0 (src): curl-7.60.0-150000.33.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2022:2327-2: An update that fixes two vulnerabilities is now available. Category: security (important) Bug References: 1200735,1200737 CVE References: CVE-2022-32206,CVE-2022-32208 JIRA References: Sources used: openSUSE Leap Micro 5.2 (src): curl-7.66.0-150200.4.36.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.