Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. gix-transport
  4. ›
  5. CVE-2024-32884

CVE-2024-32884: gix-transport indirect code execution via malicious username

April 15, 2024 (updated July 5, 2024)

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.

References

  • github.com/Byron/gitoxide
  • github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh
  • github.com/advisories/GHSA-98p4-xjmm-8mfh
  • nvd.nist.gov/vuln/detail/CVE-2024-32884
  • rustsec.org/advisories/RUSTSEC-2024-0335.html

Code Behaviors & Features

Detect and mitigate CVE-2024-32884 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.42.0

Fixed versions

  • 0.42.0

Solution

Upgrade to version 0.42.0 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L

Learn more about CVSS

Weakness

  • 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')

Source file

cargo/gix-transport/CVE-2024-32884.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:04 +0000.