Description
The gix-transport crate before 0.36.1 for Rust allows command execution via the "gix clone 'ssh://-oProxyCommand=open$IFS" substring. NOTE: this was discovered before CVE-2024-32884, a similar vulnerability (involving a username field) that is more difficult to exploit.
Problem types
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
Any version before 0.36.1
References
rustsec.org/advisories/RUSTSEC-2023-0064.html
github.com/GitoxideLabs/gitoxide/pull/1032
github.com/advisories/GHSA-rrjw-j4m2-mf34
crates.io/crates/gix-transport