Vulnerability
CVE-2024-32884
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.
7 advisories report this vulnerability, across 5 ecosystems.
Advisories
-
AZL-40229
CVE-2024-32884 affecting package rust for versions less than 1.75.0-9
-
AZL-40264
CVE-2024-32884 affecting package rust for versions less than 1.72.0-8
- CGA-4pgv-4f5p-c2r5
- CGA-cm94-9p54-6h35
-
GHSA-98p4-xjmm-8mfh
gix-transport indirect code execution via malicious username
-
RUSTSEC-2024-0335
gix-transport indirect code execution via malicious username
-
SUSEVEX-CVE-2024-32884
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…