RUSTSEC-2023-0064
Dashboard / Vulnerabilities / RUSTSEC-2023-0064
RUSTSEC-2023-0064
Summary: gix-transport code execution vulnerability
Details: The `gix-transport` crate prior to the patched version 0.36.1 would allow attackers to use malicious ssh clone URLs to pass arbitrary arguments to the `ssh` program, leading to arbitrary code execution. PoC: `gix clone 'ssh://-oProxyCommand=open$IFS-aCalculator/foo'` This will launch a calculator on OSX. See <https://secure.phabricator.com/T12961> for more details on similar vulnerabilities in `git`. Thanks to [vin01](https://github.com/vin01) for disclosing the issue.
References: https://crates.io/crates/gix-transport, https://rustsec.org/advisories/RUSTSEC-2023-0064.html, https://github.com/Byron/gitoxide/pull/1032, https://secure.phabricator.com/T12961
Affected packages
Package
Name: gix-transport
Purl: pkg:cargo/gix-transport
Affected ranges
Type: SEMVER
Events:
