Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libcurl-minimal package, versions <0:7.87.0-2.amzn2023.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.19% (58th percentile)

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 IDSNYK-AMZN2023-LIBCURLMINIMAL-6253271
  • published20 Feb 2024
  • disclosed2 Jun 2022

Introduced: 2 Jun 2022

CVE-2022-27781  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libcurl-minimal to version 0:7.87.0-2.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-083.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcurl-minimal package and not the libcurl-minimal package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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.

CVSS Scores

version 3.1