
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-23916 is a vulnerability discovered in curl versions 7.57.0 through 7.87.0, disclosed on February 15, 2023. The vulnerability relates to curl's support for 'chained' HTTP compression algorithms, where a malicious server could insert an unlimited number of compression steps through multiple headers. This flaw is classified as an allocation of resources without limits or throttling vulnerability (Curl Advisory).
The vulnerability stems from curl's implementation of HTTP compression algorithm chaining. While the number of acceptable 'links' in the decompression chain was capped, this cap was implemented on a per-header basis. This allowed malicious servers to bypass the limitation by using multiple headers. The vulnerability affects both Content-Encoding and Transfer-Encoding headers across all HTTP versions. The issue is particularly concerning as it can be triggered with default options due to how Transfer-Encoding works in curl. This vulnerability is categorized as CWE-770: Allocation of Resources Without Limits or Throttling, with a CVSS score of 6.5 (Medium) (Curl Advisory, NVD).
When successfully exploited, this vulnerability could result in a 'malloc bomb', causing curl to consume enormous amounts of allocated heap memory or attempt to do so and return out-of-memory errors. This could effectively lead to a denial of service condition. The vulnerability affects both the curl command-line tool and libcurl library implementations (Curl Advisory).
The vulnerability was fixed in curl version 7.88.0, released on February 15, 2023. The fix implements a total cap of 5 on the number of accepted 'chained' algorithms, regardless of the number of headers. Users are strongly recommended to upgrade to version 7.88.0 or later. For those unable to upgrade immediately, there are no known workarounds (Curl Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."