CVE-2024-35186 Affecting cargo-audit package, versions <0.21.2-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (12th 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-CHAINGUARDLATEST-CARGOAUDIT-9486884
  • published21 Mar 2025
  • disclosed23 May 2024

Introduced: 23 May 2024

CVE-2024-35186  (opens in a new tab)

How to fix?

Upgrade Chainguard cargo-audit to version 0.21.2-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cargo-audit package and not the cargo-audit package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

gitoxide is a pure Rust implementation of Git. During checkout, gix-worktree-state does not verify that paths point to locations in the working tree. A specially crafted repository can, when cloned, place new files anywhere writable by the application. This vulnerability leads to a major loss of confidentiality, integrity, and availability, but creating files outside a working tree without attempting to execute code can directly impact integrity as well. This vulnerability has been patched in version(s) 0.36.0.