CVE-2024-32884
Assigner: GitHub_M
Published: 2024-04-26T18:04:04.374Z
State: PUBLISHED
title: gix-transport indirect code execution via malicious username
problemTypes: descriptions: cweId: CWE-77
description: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
type: CWE
descriptions: cweId: CWE-88
description: CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
type: CWE
metrics: cvssV3_1: attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 6.4
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: LOW
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L
version: 3.1
affected: vendor: Byron
product: gitoxide
versions: version: < 0.42.0
status: affected
version: < 0.62
status: affected
version: < 0.35
status: affected
descriptions: value: 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.
source: advisory: GHSA-98p4-xjmm-8mfh
discovery: UNKNOWN