GHSA-5c5j-jmhx-q2gr: Duplicate Advisory Gix-transport Code Execution Vulnerability Vulnerability

MODERATE
CVSS 4.1
CWE-78
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-5c5j-jmhx-q2gr
Severity MODERATE
CVSS v3.1 Base Score 4.1
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Duplicate Advisory
Package Ecosystem crates.io
Published Date
Last Updated

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).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (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.

gix-transport fixed: 0.36.1
Upgrade gix-transport to 0.36.1
Verify Direct and Transitive Dependencies

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

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-rrjw-j4m2-mf34. This link is maintained to preserve external references. ### Original 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.

GHSA-5c5j-jmhx-q2gr Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
0.36.1
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?
GHSA-5c5j-jmhx-q2gr is a security vulnerability in Duplicate Advisory involving gix-transport code execution vulnerability under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.36.1 across affected packages: gix-transport.
What version fixes GHSA-5c5j-jmhx-q2gr?
Upgrading to 0.36.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is gix-transport affected?
Yes, gix-transport is affected in releases prior to 0.36.1. Upgrade your dependency to 0.36.1 or later.
What is the CVSS score of GHSA-5c5j-jmhx-q2gr?
GHSA-5c5j-jmhx-q2gr has a CVSS v3.1 base score of 4.1 (MODERATE) with vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with GHSA-5c5j-jmhx-q2gr?
GHSA-5c5j-jmhx-q2gr is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (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.).
How can I check crates.io dependencies for GHSA-5c5j-jmhx-q2gr?
Run the dependency tree command: 'inspect dependencies for gix-transport'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}