Directory Traversal Affecting cargo-c-debuginfo package, versions <0:0.10.21-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.4% (34th 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-CARGOCDEBUGINFO-18911715
  • published18 Aug 2026
  • disclosed20 Aug 2026

Introduced: 18 Aug 2026

NewCVE-2026-53584  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 cargo-c-debuginfo to version 0:0.10.21-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-2064.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cargo-c-debuginfo package and not the cargo-c-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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. Prior to 1.8.6 and 1.9.5, libgit2 does not reject traversal components in a submodule path loaded from .gitmodules. The affected src/libgit2/submodule.c paths include git_submodule_lookup and git_submodule_add_setup. A crafted repository can specify a path such as ../escape-target, and applications that initialize the submodule can create directories outside the repository working tree. This issue is fixed in versions 1.8.6 and 1.9.5.