CVE & CISA-KEV Catalog

CVE-2024-45305

LOW
2.5
CVSS v3
NVD

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.

How to fix

Remediation Available
rust-gix-pathDebian
Fixed in:0.10.11-1CVE-2024-45305
Fixed in:0.10.11-1CVE-2024-45305

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

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Exploit Intelligence

0.24%probability of exploitation in 30 days
16thpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2025-24813Critical9.8100%KEVFix
CVE-2020-15505Critical9.8100%KEVFix
CVE-2021-40539Critical9.899%KEV + RansomFix
CVE-2024-27292High7.569%-Fix
CVE-2021-40856High7.551%--
CVE-2021-24122Medium5.923%-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
CVE-2024-45305 severity badge

Markdown

[![CVE-2024-45305](https://tridentstack.com/cve/badge/CVE-2024-45305.svg)](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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.