CVE-2024-32884CWE-77CWE-88

gix-transport indirect code execution via malicious username

Medium · published April 26, 2024

CVSS v3.1
6.4
EPSS
1%
Percentile
42.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00514 · 42.9th percentile
Weaknesses
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection'); CWE-88 · Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Published
2024-04-26T18:04Z
EPSS history
Timeline
  • 26 APR 18:04Z
    gix-transport indirect code execution via malicious username
    cvelistv5