Allocation of Resources Without Limits or Throttling Affecting curl package, versions <0:7.88.0-1.amzn2.0.1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-AMZN2-CURL-3343416
- published 7 Mar 2023
- disclosed 23 Feb 2023
Introduced: 23 Feb 2023
CVE-2023-23916 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2
curl
to version 0:7.88.0-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-1986
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream curl
package and not the curl
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2
relevant fixed versions and status.
An allocation of resources without limits or throttling vulnerability exists in curl <v7.88.0 based on the "chained" HTTP compression algorithms, meaning that a server response can be compressed multiple times and potentially with differentalgorithms. The number of acceptable "links" in this "decompression chain" wascapped, but the cap was implemented on a per-header basis allowing a maliciousserver to insert a virtually unlimited number of compression steps simply byusing many headers. 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.
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23916
- https://hackerone.com/reports/1826048
- https://lists.debian.org/debian-lts-announce/2023/02/msg00035.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BQKE6TXYDHOTFHLTBZ5X73GTKI7II5KO/
- https://www.debian.org/security/2023/dsa-5365
- https://security.netapp.com/advisory/ntap-20230309-0006/
- https://security.gentoo.org/glsa/202310-12
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BQKE6TXYDHOTFHLTBZ5X73GTKI7II5KO/