CVE-2024-32884 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-9486887
  • published21 Mar 2025
  • disclosed26 Apr 2024

Introduced: 26 Apr 2024

CVE-2024-32884  (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. gix-transport does not check the username part of a URL for text that the external ssh program would interpret as an option. A specially crafted clone URL can smuggle options to SSH. The possibilities are syntactically limited, but if a malicious clone URL is used by an application whose current working directory contains a malicious file, arbitrary code execution occurs. This is related to the patched vulnerability GHSA-rrjw-j4m2-mf34, but appears less severe due to a greater attack complexity. This issue has been patched in versions 0.35.0, 0.42.0 and 0.62.0.