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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.36% (72nd 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-CURLMINIMAL-6253269
  • 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 curl-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 curl-minimal package and not the curl-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