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

CVE-2024-40644: gix-path can use a fake program files location

July 18, 2024 (updated November 18, 2024)

When looking for Git for Windows so it can run it to report its paths, gix-path can be tricked into running another git.exe placed in an untrusted location by a limited user account.

References

  • github.com/Byron/gitoxide
  • github.com/Byron/gitoxide/blob/6cd8b4665bb7582f744c3244abaef812be39ec35/gix-path/src/env/git.rs
  • github.com/Byron/gitoxide/security/advisories/GHSA-mgvv-9p9g-3jv4
  • github.com/advisories/GHSA-mgvv-9p9g-3jv4
  • github.com/git-for-windows/git/security/advisories/GHSA-vw2c-22j4-2fh2
  • nvd.nist.gov/vuln/detail/CVE-2024-40644

Code Behaviors & Features

Detect and mitigate CVE-2024-40644 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 starting from 0.10.8 before 0.10.9, version 0.10.8

Fixed versions

  • 0.10.9

Solution

Upgrade to version 0.10.9 or above.

Impact 6.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-427: Uncontrolled Search Path Element

Source file

cargo/gix-path/CVE-2024-40644.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:28 +0000.