logo

CVE-2023-53158 gix-transport

Package

Manager: cargo
Name: gix-transport
Vulnerable Version: >=0 <0.36.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00019 pctl0.03254

Details

gix-transport code execution vulnerability 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 for [vin01](https://github.com/vin01) for disclosing this issue.

Metadata

Created: 2023-09-25T20:21:16Z
Modified: 2025-07-28T15:37:24Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-rrjw-j4m2-mf34/GHSA-rrjw-j4m2-mf34.json
CWE IDs: ["CWE-78", "CWE-88"]
Alternative ID: GHSA-rrjw-j4m2-mf34
Finding: F004
Auto approve: 1