{"cve":"CVE-2024-45305","nvd":{"published":"2024-09-02T18:15:36.657","modified":"2026-06-17T07:53:59.410","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":2.5},"cwes":["CWE-706"],"references":["https://git-scm.com/docs/git-config#SCOPES","https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112","https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91","https://github.com/Byron/gitoxide/security/advisories/GHSA-v26r-4c9c-h3j6"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:54:16.205165117+00:00"},"epss":{"cve":"CVE-2024-45305","score":0.00244,"percentile":0.15691,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v26r-4c9c-h3j6","url":"https://osv.dev/vulnerability/GHSA-v26r-4c9c-h3j6","summary":"gix-path uses local config across repos when it is the highest scope","modified":"2026-09-10T03:50:19.056372989Z","packages":[{"ecosystem":"crates.io","name":"gix-path","purl":"pkg:cargo/gix-path","ranges":["<0.10.10"],"fixed":["0.10.10"]}]},{"id":"RUSTSEC-2024-0367","url":"https://osv.dev/vulnerability/RUSTSEC-2024-0367","summary":"gix-path uses local config across repos when it is the highest scope","modified":"2026-10-12T18:00:11.488836185Z","packages":[{"ecosystem":"crates.io","name":"gix-path","purl":"pkg:cargo/gix-path","ranges":[">=0.0.0-0 <0.10.10"],"fixed":["0.10.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}