CVE-2023-53158
mediumpriority · track · 0EPSS 0.002 · 9 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.8–4.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-rrjw-j4m2-mf34gix-transport code execution vulnerability2023-09-25ghsa · osvUS
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.
- RUSTSEC-2023-0064gix-transport code execution vulnerability2023-09-23vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2023-53158cnnvd
- https://crates.io/crates/gix-transportcnnvd
- https://github.com/GitoxideLabs/gitoxide/pull/1032cnnvd
- https://github.com/advisories/GHSA-rrjw-j4m2-mf34cnnvd
- https://github.com/dalek-cryptography/curve25519-dalek/releasesPatchcnnvd
- https://rustsec.org/advisories/RUSTSEC-2023-0064.htmlcnnvd
- https://crates.io/crates/gix-transportenisa_euvd
- https://github.com/GitoxideLabs/gitoxide/pull/1032enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan