CVE-2024-35197 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-9486881
  • published21 Mar 2025
  • disclosed23 May 2024

Introduced: 23 May 2024

CVE-2024-35197  (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. On Windows, fetching refs that clash with legacy device names reads from the devices, and checking out paths that clash with such names writes arbitrary data to the devices. This allows a repository, when cloned, to cause indefinite blocking or the production of arbitrary message that appear to have come from the application, and potentially other harmful effects under limited circumstances. If Windows is not used, or untrusted repositories are not cloned or otherwise used, then there is no impact. A minor degradation in availability may also be possible, such as with a very large file named CON, though the user could interrupt the application.