
CVE catalog
CVE-2024-45405
UBUNTU-CVE-2024-45405
- Severity
- Medium · CVSS 6
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Oct 25, 2026
`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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-gix-path | 13 | 0.10.11-1 | fixed |
| Debian | rust-gix-path | 14 | 0.10.11-1 | fixed |
| Opensuse | obs-service-cargo | tumbleweed | 1.3.6-5.1 | fixed |
| Opensuse | cargo-c | leap 15.6 | 0.10.3~git0.ee7d7ef-150600.3.3.1 | fixed |
| Opensuse | cargo-c | tumbleweed | 0.10.3~git0.ee7d7ef-2.1 | fixed |
| Opensuse | stgit | tumbleweed | 2.4.12-1.1 | fixed |
| Opensuse | onefetch | tumbleweed | 2.22.0-1.1 | fixed |
| Opensuse | cargo-audit | tumbleweed | 0.20.0~git66.972ac93-3.1 | fixed |
| Ubuntu | rust-gix-path | 24.04 | 0.10.0-1 | vulnerable |
| Ubuntu | rust-gix-path | 24.04 | 0.10.4-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-gix-path | deb | 13 | 0.10.11-1 | Not reported | DEBIAN-CVE-2024-45405 | Not reported |
| Debian | rust-gix-path | deb | 14 | 0.10.11-1 | Not reported | DEBIAN-CVE-2024-45405 | Not reported |
| Opensuse | obs-service-cargo | rpm | tumbleweed | 1.3.6-5.1 | Not reported | OPENSUSE-SU-2024:14364-1 | Not reported |
| Opensuse | cargo-c | rpm | leap 15.6 | 0.10.3~git0.ee7d7ef-150600.3.3.1 | Not reported | SUSE-SU-2024:3748-1 | Not reported |
| Opensuse | cargo-c | rpm | tumbleweed | 0.10.3~git0.ee7d7ef-2.1 | Not reported | OPENSUSE-SU-2024:14359-1 | Not reported |
| Opensuse | stgit | rpm | tumbleweed | 2.4.12-1.1 | Not reported | OPENSUSE-SU-2024:14355-1 | Not reported |
| Opensuse | onefetch | rpm | tumbleweed | 2.22.0-1.1 | Not reported | OPENSUSE-SU-2024:14353-1 | Not reported |
| Opensuse | cargo-audit | rpm | tumbleweed | 0.20.0~git66.972ac93-3.1 | Not reported | OPENSUSE-SU-2024:14363-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [stgit-bash-completion]Unknown
Source package: [stgit]
Details (1)
2.6.1-3.2· noarch · tumbleweedUnknown · Fixed:
2.4.12-1.1Version impact unknown
pypi · stgit · opensuse · tumbleweed
- [stgit-emacs]Unknown
Source package: [stgit]
Details (1)
2.6.1-3.2· noarch · tumbleweedUnknown · Fixed:
2.4.12-1.1Version impact unknown
pypi · stgit · opensuse · tumbleweed
- [stgit-fish-completion]Unknown
Source package: [stgit]
Details (1)
2.6.1-3.2· noarch · tumbleweedUnknown · Fixed:
2.4.12-1.1Version impact unknown
pypi · stgit · opensuse · tumbleweed
- [stgit-vim-plugin]Unknown
Source package: [stgit]
Details (1)
2.6.1-3.2· noarch · tumbleweedUnknown · Fixed:
2.4.12-1.1Version impact unknown
pypi · stgit · opensuse · tumbleweed
- [stgit-zsh-completion]Unknown
Source package: [stgit]
Details (1)
2.6.1-3.2· noarch · tumbleweedUnknown · Fixed:
2.4.12-1.1Version impact unknown
pypi · stgit · opensuse · tumbleweed
- [cargo-audit]Fixed
Source package: [cargo-audit]
Details (1)
0.22.2~git0.281452c-2.1· x86_64 · tumbleweedFixed · Fixed:
0.20.0~git66.972ac93-3.1pypi · cargo-audit · opensuse · tumbleweed
- [cargo-c]Fixed
Source package: [cargo-c]
Details (1)
0.10.23-2.1· x86_64 · tumbleweedFixed · Fixed:
0.10.3~git0.ee7d7ef-2.1pypi · cargo-c · opensuse · tumbleweed
- [obs-service-cargo]Fixed
Source package: [obs-service-cargo]
Details (1)
7.2.2-2.1· x86_64 · tumbleweedFixed · Fixed:
1.3.6-5.1pypi · obs-service-cargo · opensuse · tumbleweed
- [onefetch]Fixed
Source package: [onefetch]
Details (1)
2.27.1-1.4· x86_64 · tumbleweedFixed · Fixed:
2.22.0-1.1pypi · onefetch · opensuse · tumbleweed
- [stgit]Fixed
Source package: [stgit]
Details (1)
2.6.1-3.2· x86_64 · tumbleweedFixed · Fixed:
2.4.12-1.1pypi · stgit · opensuse · tumbleweed
[Debian 13 (Trixie)]
- [librust-gix-path-dev]Fixed
Source package: [rust-gix-path]
Details (2)
0.10.13-1· amd64 · trixieFixed · Fixed:
0.10.11-1pypi · rust-gix-path · debian · 13
0.10.13-1· arm64 · trixieFixed · Fixed:
0.10.11-1pypi · rust-gix-path · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_3748-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-45405]
- [https://osv.dev/vulnerability/SUSE-SU-2024:3748-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-45405]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14353-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14355-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14359-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14363-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14364-1]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-45405.json]
[FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]