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

Source: https://junglewise.ai/threats/cve-2024-40644-gix-path-can-use-a-fake-program-files-location  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-18  
License: CC BY 4.0 with a link back

CVE-2024-40644 · Severity: low · CVSS 3.1 · Published 2024-07-18

gix-path can use a fake program files location

Technologies: [gix-path (crates.io)](https://junglewise.ai/threats/technologies/gix-path). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2024-40644 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-40644 being exploited in the wild.

**How severe is CVE-2024-40644?** Low severity, with a CVSS score of 3.1, published 18 July 2024.

**Which products and versions are affected?** gix-path (crates.io) SEMVER:introduced=0.10.8,fixed=0.10.9.

**Is there a fix for CVE-2024-40644?** Yes. gix-path (crates.io): upgrade to 0.10.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-40644?** Check whether you run gix-path (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- gix-path (crates.io): upgrade to 0.10.9 or later

  ```sh
  cargo update -p gix-path
  ```


## Affected products

- gix-path (crates.io) SEMVER:introduced=0.10.8,fixed=0.10.9

## Identifiers

- CVE-2024-40644
- GHSA-mgvv-9p9g-3jv4
- RUSTSEC-2024-0355

## Related threats

- [RUSTSEC-2024-0371 - gix-path improperly resolves configuration path reported by Git](https://junglewise.ai/threats/cve-2024-45405-gix-path-improperly-resolves-configuration-path-reported-by-git)
- [RUSTSEC-2024-0367 - gix-path uses local config across repos when it is the highest scope](https://junglewise.ai/threats/cve-2024-45305-gix-path-uses-local-config-across-repos-when-it-is-the-highest)
