gix-transport
Affected
- introduced
0.0.0-0, fixed0.36.1(semver)
Fixed versions
0.36.1
Fix
- Fixed version
0.36.1cargo update -p gix-transport --precise 0.36.1
Advisory
Also known as: CVE-2023-53158, GHSA-rrjw-j4m2-mf34
gix-transport code execution vulnerability
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 for disclosing the issue.
Not rated by the source.
0.0.0-0, fixed 0.36.1 (semver)0.36.1
0.36.1cargo update -p gix-transport --precise 0.36.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0