CVE-2024-45405: gix-path improperly resolves configuration path reported by Git
Noroxi assessment
Priority: Monitor (action score 24/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.25% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. A user must open a link or visit a page. Special conditions such as timing or configuration are required.
- Fixed version: gix-path (crates.io) 0.10.11; rust-gix-path (Debian:13) 0.10.11-1; cargo-c (openSUSE:Leap 15.6) 0.10.3~git0.ee7d7ef-150600.3.3.1.
Low priority for now. Upgrade to gix-path (crates.io) 0.10.11; rust-gix-path (Debian:13) 0.10.11-1; cargo-c (openSUSE:Leap 15.6) 0.10.3~git0.ee7d7ef-150600.3.3.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
`gix-path` is a crate of the `gitoxide` project (an implementation of `git` written in Rust) dealing paths and their conversions. Prior to version 0.10.11, `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. Version 0.10.11 contains a patch for the issue. In `gix_path::env`, the underlying implementation of the `installation_config` and `installation_config_prefix` functions calls `git config -l --show-origin` to find the path of a file to treat as belonging to the `git` installation. Affected versions of `gix-path` do not pass `-z`/`--null` to cause `git` to report literal paths. Instead, to cover the occasional case that `git` outputs a quoted path, they attempt to parse the path by stripping the quotation marks. The problem is that, when a path is quoted, it may change in substantial ways beyond the concatenation of quotation marks. If not reversed, these changes can result in another valid path that is not equivalent to the original. On a single-user system, it is not possible to exploit this, unless `GIT_CONFIG_SYSTEM` and `GIT_CONFIG_GLOBAL` have been set to unusual values or Git has been installed in an unusual way. Such a scenario is not expected. Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. In general, exploitation is more likely to succeed if users are expected to install `git` themselves, and are likely to do so in predictable locations; locations where `git` is installed, whether due to usernames in their paths or otherwise, contain characters that `git` quotes by default in paths, such as non-English letters and accented letters; a custom `system`-scope configuration file is specified with the `GIT_CONFIG_SYSTEM` environment variable, and its path is in an unusual location or has strangely named components; or a `system`-scope configuration file is absent, empty, or suppressed by means other than `GIT_CONFIG_NOSYSTEM`. Currently, `gix-path` can treat a `global`-scope configuration file as belonging to the installation if no higher scope configuration file is available. This increases the likelihood of exploitation even on a system where `git` is installed system-wide in an ordinary way. However, exploitation is expected to be very difficult even under any combination of those factors.
- Published
- Sep 6, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 17th percentile
- CWE
- CWE-41
Report tools
Action score
24
Monitor
Low priority for now.
- CVSS
- 24 / 40 · 6.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 6.0
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| byron | gitoxide | cpe:2.3:a:byron:gitoxide |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
Byron gitoxide
- < 0.10.11affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| crates.io | gix-path | from 0.0.0-0 · before 0.10.11 | 0.10.11 |
| crates.io | gix-path | before 0.10.11 | 0.10.11 |
| Debian:13 | rust-gix-path | before 0.10.11-1 | 0.10.11-1 |
| openSUSE:Leap 15.6 | cargo-c | before 0.10.3~git0.ee7d7ef-150600.3.3.1 | 0.10.3~git0.ee7d7ef-150600.3.3.1 |
| openSUSE:Tumbleweed | cargo-audit | before 0.20.0~git66.972ac93-3.1 | 0.20.0~git66.972ac93-3.1 |
| openSUSE:Tumbleweed | cargo-c | before 0.10.3~git0.ee7d7ef-2.1 | 0.10.3~git0.ee7d7ef-2.1 |
| openSUSE:Tumbleweed | obs-service-cargo | before 1.3.6-5.1 | 1.3.6-5.1 |
| openSUSE:Tumbleweed | onefetch | before 2.22.0-1.1 | 2.22.0-1.1 |
| openSUSE:Tumbleweed | stgit | before 2.4.12-1.1 | 2.4.12-1.1 |
Same product
byron: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-35186gix traversal outside working tree enables arbitrary code execution35Monitor
- CVE-2024-40644gitoxide's gix-path can use a fake program files location27Monitor
- CVE-2024-32884gix-transport indirect code execution via malicious username25Monitor
Published before and after this one in the same product
- ← EarlierCVE-2024-35197May 23, 2024 · gix refs and paths with reserved Windows device names access the devices21Monitor
- ← EarlierCVE-2024-43785Aug 22, 2024 · gitoxide-core does not neutralize special characters for terminals10Monitor
- ← EarlierCVE-2024-45305Sep 2, 2024 · gix-path uses local config across repos when it is the highest scope10Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| crates.io:gix-path | 0.10.11 | Package registry (OSV) |
| debian:rust-gix-path | 0.10.11-1 · Debian:13 | Package registry (OSV) |
| opensuse:cargo-audit | 0.20.0~git66.972ac93-3.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:cargo-c | 0.10.3~git0.ee7d7ef-150600.3.3.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:obs-service-cargo | 1.3.6-5.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:onefetch | 2.22.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:stgit | 2.4.12-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- A user must open a link or visit a page.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-41 · Improper Resolution of Path EquivalenceCVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.