CVE-2024-45305
LOWDescription
gix-path is a crate of the gitoxide project dealing with git paths and their conversions. `gix-path` executes `git` to find the path of a configuration file that belongs to the `git` installation itself, but mistakenly treats the local repository's configuration as system-wide if no higher scoped configuration is found. In rare cases, this causes a less trusted repository to be treated as more trusted, or leaks sensitive information from one repository to another, such as sending credentials to another repository's remote. In `gix_path::env`, the underlying implementation of the `installation_config` and `installation_config_prefix` functions calls `git config -l --show-origin` and parses the first line of the output to extract the path to the configuration file holding the configuration variable of highest scope. It is believed to be very difficult to exploit this vulnerability deliberately, due to the need either to anticipate a situation in which higher-scoped configuration variables would be absent, or to arrange for this to happen. Although any operating system may be affected, users running Apple Git on macOS are much less likely to be affected. This issue has been addressed in release version 0.10.10. All users are advised to upgrade.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 16% of all known CVEs.
References
Related Vulnerabilities
Other CWE-706 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2025-24813 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2020-15505 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2021-40539 | Critical | 9.8 | 99% | KEV + Ransom | Fix |
| CVE-2024-27292 | High | 7.5 | 69% | - | Fix |
| CVE-2021-40856 | High | 7.5 | 51% | - | - |
| CVE-2021-24122 | Medium | 5.9 | 23% | - | Fix |
Common questions
How do I fix CVE-2024-45305?
Upgrade rust-gix-path on debian 13 to 0.10.11-1 or later.
Is CVE-2024-45305 being actively exploited?
Not that we know of. CVE-2024-45305 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.24% is the estimated probability that it will be exploited in the next 30 days. That is higher than 16% of all scored CVEs.
How severe is CVE-2024-45305?
CVE-2024-45305 has a CVSS v3 base score of 2.5, rated low. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2024-45305 affect?
Published advisories record a fix for rust-gix-path (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2024-45305
Markdown
[](https://tridentstack.com/cve/CVE-2024-45305)HTML
<a href="https://tridentstack.com/cve/CVE-2024-45305"><img src="https://tridentstack.com/cve/badge/CVE-2024-45305.svg" alt="CVE-2024-45305"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-09-03.