Loop with Unreachable Exit Condition ('Infinite Loop') Affecting curl package, versions <0:7.87.0-2.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-3310564
- published 4 Feb 2023
- disclosed 2 Jun 2022
Introduced: 2 Jun 2022
CVE-2022-27781 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2
curl
to version 0:7.87.0-2.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-1924
.
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.
libcurl provides the CURLOPT_CERTINFO
option to allow applications torequest details to be returned about a server's certificate chain.Due to an erroneous function, a malicious server could make libcurl built withNSS get stuck in a never-ending busy-loop when trying to retrieve thatinformation.
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27781
- https://hackerone.com/reports/1555441
- https://security.netapp.com/advisory/ntap-20220609-0009/
- https://www.debian.org/security/2022/dsa-5197
- https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html
- https://security.gentoo.org/glsa/202212-01