CVE-2024-45305
Last modified
CVE-2024-45305 is a low-severity vulnerability rated 2.5/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-45305?
How severe is CVE-2024-45305?
How do I fix CVE-2024-45305?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-4530The Business Card WordPress plugin through 1.0.0 does not ha…6.3
- CVE-2024-45300alf.io is an open source ticket reservation system for confe…5.9
- CVE-2024-45301Mintty is a terminal emulator for Cygwin, MSYS, and WSL. In …5.3
- CVE-2024-45302RestSharp is a Simple REST and HTTP API Client for .NET. The…7.8
- CVE-2024-45303Discourse Calendar plugin adds the ability to create a dynam…6.1
- CVE-2024-45304Cairo-Contracts are OpenZeppelin Contracts written in Cairo …6.5
- CVE-2024-45306Vim is an open source, command line text editor. Patch v9.1.…5.5
- CVE-2024-45307SudoBot, a Discord moderation bot, is vulnerable to privileg…9.8
- CVE-2024-45308HedgeDoc is an open source, real-time, collaborative, markdo…6.5
- CVE-2024-45309OneDev is a Git server with CI/CD, kanban, and packages. A v…7.5
- CVE-2024-4531The Business Card WordPress plugin through 1.0.0 does not ha…7.1
- CVE-2024-45310runc is a CLI tool for spawning and running containers accor…3.6
Are you affected by CVE-2024-45305?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
