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.
https://www.debian.org/security/2022/dsa-5197
https://support.apple.com/kb/HT213488
https://security.netapp.com/advisory/ntap-20220915-0003/
https://security.gentoo.org/glsa/202212-01
https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html
https://hackerone.com/reports/1570651
https://cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf
http://www.openwall.com/lists/oss-security/2023/02/15/3