Rust advisories / gix-transport
Vulnerability MediumRUSTSEC-2023-0064 · gix-transport
RUSTSEC-2023-0064: gix-transport code execution vulnerability
Short answerA security vulnerability in the gix-transport crate: gix-transport code execution vulnerability. GitHub rates it Medium. Fixed in 0.36.1: update to a fixed version.
| Crate | gix-transport |
|---|---|
| Type | Vulnerability (code-execution) |
| Affected versions | Before 0.36.1. |
| Fixed in | 0.36.1 |
| Severity | Medium (GitHub rating) |
| Published | 2023-09-23 |
| Last changed | 2025-10-28 |
| Also known as | CVE-2023-53158, GHSA-rrjw-j4m2-mf34 |
What to do
- See which version you have:
cargo tree -i gix-transport(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p gix-transport. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplegix-transport = "0.36.1") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
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.
References
- Package: crates.io/crates/gix-transport
- Advisory: rustsec.org/advisories/RUSTSEC-2023-0064.html
- Web: github.com/Byron/gitoxide/pull/1032
- Web: secure.phabricator.com/T12961
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for gix-transport
Up next
Same crategix-transport: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?