Resource Exhaustion Affecting rust-debugger-common package, versions <0:1.68.2-1.amzn2.0.6


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.25% (64th 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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-RUSTDEBUGGERCOMMON-6457802
  • published19 Mar 2024
  • disclosed6 Feb 2024

Introduced: 6 Feb 2024

CVE-2024-24575  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 rust-debugger-common to version 0:1.68.2-1.amzn2.0.6 or higher.
This issue was patched in ALAS2-2024-2496.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-debugger-common package and not the rust-debugger-common package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to git_revparse_single can cause the function to enter an infinite loop, potentially causing a Denial of Service attack in the calling application. The revparse function in src/libgit2/revparse.c uses a loop to parse the user-provided spec string. There is an edge-case during parsing that allows a bad actor to force the loop conditions to access arbitrary memory. Potentially, this could also leak memory if the extracted rev spec is reflected back to the attacker. As such, libgit2 versions before 1.4.0 are not affected. Users should upgrade to version 1.6.5 or 1.7.2.

CVSS Scores

version 3.1