GHSA-5c5j-jmhx-q2gr: Duplicate Advisory Gix-transport Code Execution Vulnerability Vulnerability
MODERATEGHSA-5c5j-jmhx-q2gr is a MODERATE (CVSS 4.1) gix-transport code execution vulnerability vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Duplicate Advisory libraries in the crates.io ecosystem. The issue involves gix-transport code execution vulnerability. Remediation is available by upgrading affected packages to version 0.36.1.
GHSA-5c5j-jmhx-q2gr at a Glance
Security Impact
CVSS: 4.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix GHSA-5c5j-jmhx-q2gr
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade gix-transport to 0.36.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for gix-transport
How to Check if You Are Affected
To determine whether your application is affected by GHSA-5c5j-jmhx-q2gr, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for gix-transport
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.36.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-5c5j-jmhx-q2gr Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
gix-transport
|
crates.io |
< 0.36.1
|
0.36.1
|
References
Frequently Asked Questions
What is GHSA-5c5j-jmhx-q2gr?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-5c5j-jmhx-q2gr?
Is gix-transport affected?
What is the CVSS score of GHSA-5c5j-jmhx-q2gr?
What CWE is associated with GHSA-5c5j-jmhx-q2gr?
How can I check crates.io dependencies for GHSA-5c5j-jmhx-q2gr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5c5j-jmhx-q2gr",
"modified" : "2025-07-28T15:37:12Z",
"published" : "2025-07-28T03:31:03Z",
"withdrawn" : "2025-07-28T15:37:12Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: gix-transport code execution vulnerability",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-rrjw-j4m2-mf34. This link is maintained to preserve external references.\n\n### Original Description\nThe 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "gix-transport"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.36.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-53158"
}, {
"type" : "WEB",
"url" : "https://github.com/GitoxideLabs/gitoxide/pull/1032"
}, {
"type" : "WEB",
"url" : "https://crates.io/crates/gix-transport"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-rrjw-j4m2-mf34"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2023-0064.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-28T15:37:12Z",
"nvd_published_at" : "2025-07-28T01:15:24Z"
}
}