Email me

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.

Crategix-transport
TypeVulnerability (code-execution)
Affected versionsBefore 0.36.1.
Fixed in0.36.1
SeverityMedium (GitHub rating)
Published2023-09-23
Last changed2025-10-28
Also known asCVE-2023-53158, GHSA-rrjw-j4m2-mf34

What to do

  1. See which version you have: cargo tree -i gix-transport (it also shows which of your dependencies pulls it in).
  2. 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 example gix-transport = "0.36.1") or update the dependency that pulls it in.
  3. 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

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

Full security history of 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?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ