NetSight
medium4.1

CVE-2023-53158

gix-transport code execution vulnerability

Impact

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 for [vin01](https://github.com/vin01) for disclosing this issue.

Affected packages

EcosystemPackageAffectedFixed in
rustgix-transport< 0.36.10.36.1

Affected products

ProductAffected versions
Gix-Transport Crate
before 0.36.1

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References