gix-transport

gix-transport

Releases55
Frequency3 weeks 1 day
Last Release
Downloads36.6M
A crate of the gitoxide project dedicated to implementing the git transport layer

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
< 0.36.1, >= 0.0.0-0, < 0.36.14.1 MEDIUM

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.

< 0.42.0, >= 0.0.0-0, < 0.42.06.4 MEDIUM

gitoxide is a pure Rust implementation of Git. `gix-transport` does not check the username part of a URL for text that the external `ssh` program would interpret as an option. A specially crafted clone URL can smuggle options to SSH. The possibilities are syntactically limited, but if a malicious clone URL is used by an application whose current working directory contains a malicious file, arbitrary code execution occurs. This is related to the patched vulnerability GHSA-rrjw-j4m2-mf34, but appears less severe due to a greater attack complexity. This issue has been patched in versions 0.35.0, 0.42.0 and 0.62.0.