CVE-2023-53158 Details
Description
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.
A command injection vulnerability has been identified in the gix-transport crate for Rust, affecting versions prior to 0.36.1. This vulnerability allows attackers to execute arbitrary commands by exploiting the way SSH clone URLs are processed. Specifically, the issue arises because the gix-transport crate does not properly sanitize the username portion of SSH URLs, enabling the injection of command-line options that are interpreted by the SSH program. As a result, attackers can execute commands with observable effects, such as launching applications or creating files, depending on the injected payload.
Users should update to gix-transport version 0.36.1 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 28, 2025CISA-ADP
Assessed Jul 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://crates.io/crates/gix-transport | [email protected] | ProductVendor |
| https://github.com/advisories/GHSA-rrjw-j4m2-mf34 | [email protected] | AdvisoryExploit |
| https://github.com/GitoxideLabs/gitoxide/pull/1032 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://rustsec.org/advisories/RUSTSEC-2023-0064.html | [email protected] | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Gitoxide gix-transport | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 28, 2025 | New CVE Received | [email protected] |
Volerion