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

CVE-2024-45405: gix-path improperly resolves configuration path reported by Git

September 6, 2024 (updated September 18, 2024)

gix-path runs git to find the path of a configuration file associated with the git installation, but improperly resolves paths containing unusual or non-ASCII characters, in rare cases enabling a local attacker to inject configuration leading to code execution.

References

  • github.com/Byron/gitoxide
  • github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs
  • github.com/Byron/gitoxide/commit/650a1b5cf25e086197cc55a68525a411e1c28031
  • github.com/Byron/gitoxide/security/advisories/GHSA-m8rp-vv92-46c7
  • github.com/advisories/GHSA-m8rp-vv92-46c7
  • nvd.nist.gov/vuln/detail/CVE-2024-45405
  • rustsec.org/advisories/RUSTSEC-2024-0371.html

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.10.11

Fixed versions

  • 0.10.11

Solution

Upgrade to version 0.10.11 or above.

Impact 6 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-41: Improper Resolution of Path Equivalence

Source file

cargo/gix-path/CVE-2024-45405.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:14 +0000.