gix-path
An idiomatic, lean, fast & safe pure Rust implementation of Git
Activity
- Latest release
- 1w ago
- Total releases
- 44
- Cadence
- ~23 days
- Last 12 months
- 13
Reach
- Downloads
- 46.3M
- Stars
- 11.9k
Details
- License
- MIT OR Apache-2.0
- First release
- Feb 17, 2023
| Version | Released | |
|---|---|---|
0.12.6
patch
|
0.12.6
patch
Dependencies (8)
Changelog
Compare changes
|
|
0.12.5
patch
|
0.12.5
patch
Dependencies (8)
Changelog
Compare changes
|
|
0.12.4
patch
|
0.12.4
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.12.3
patch
|
0.12.3
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.12.2
patch
|
0.12.2
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.12.1
patch
|
0.12.1
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.12.0
minor
|
0.12.0
minor
Dependencies (7)
Changelog
Compare changes
|
|
0.11.3
patch
|
0.11.3
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.11.2
patch
|
0.11.2
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.11.1
patch
|
0.11.1
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.11.0
minor
|
0.11.0
minor
Dependencies (7)
Changelog
Compare changes
|
|
0.10.22
patch
|
0.10.22
patch
Dependencies (7)
Changelog
Compare changes
|
|
0.10.21
patch
|
0.10.21
patch
Dependencies (8)
Changelog
Compare changes
|
|
0.10.20
patch
|
0.10.20
patch
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.10.19
patch
|
0.10.19
patch
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.10.18
patch
|
0.10.18
patch
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.10.17
patch
|
0.10.17
patch
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.10.16
patch
yanked
|
0.10.16
patch
yanked
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.10.15
patch
|
0.10.15
patch
Dependencies (9)
+ 1 more
Changelog
Compare changes
|
|
0.10.14
patch
|
0.10.14
patch
Dependencies (9)
+ 1 more
Changelog
Compare changes
|
|
0.10.13
patch
|
0.10.13
patch
Dependencies (9)
+ 1 more
Changelog
Compare changes
|
|
0.10.12
patch
|
0.10.12
patch
Dependencies (9)
+ 1 more
Changelog
Compare changes
|
|
0.10.11
patch
|
0.10.11
patch
Dependencies (9)
+ 1 more
Changelog
Compare changes
|
|
0.10.10
patch
1 CVE
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.10.10
patch
Dependencies (9)
+ 1 more
Changelog
Compare changes
|
|
0.10.9
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.10.9
patch
Dependencies (9)
+ 1 more
Changelog
Compare changes
|
|
0.10.8
patch
3 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-40644
GHSA-mgvv-9p9g-3jv4
RUSTSEC-2024-0355
Jul 18, 2024
gix-path can use a fake program files location
High
Network
Low
Low
SummaryWhen looking for Git for Windows so it can run it to report its paths, DetailsWindows permits limited user accounts without administrative privileges to create new directories in the root of the system drive. While https://github.com/Byron/gitoxide/blob/6cd8b4665bb7582f744c3244abaef812be39ec35/gix-path/src/env/git.rs#L9-L14 Existing functions, as well as the newly introduced Although unusual setups where the system drive is not A limited user on a 32-bit Windows system can therefore create the (While having PoCOn a 32-bit (x86) Windows 10 system, with or without Git for Windows installed:
ImpactOnly Windows is affected. Exploitation is unlikely except on a 32-bit system. In particular, running a 32-bit build on a 64-bit system is not a risk factor. Furthermore, the attacker must have a user account on the system, though it may be a relatively unprivileged account. Such a user can perform privilege escalation and execute code as another user, though it may be difficult to do so reliably because the targeted user account must run an application or service that uses The main exploitable configuration is one where Git for Windows has been installed but not added to This vulnerability is comparable to CVE-2022-24765, in which an uncontrolled path like Affected versions
0.10.8
Fixed in
0.10.9
References Updated Sep 10, 2026 · Source: OSV.dev | ||
0.10.7
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.10.6
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.10.5
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.10.4
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.10.3
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.10.2
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.10.1
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.10.0
minor
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.9.0
minor
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.8.4
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.8.3
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.8.2
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.8.1
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.8.0
minor
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.7.4
patch
yanked
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.7.3
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.7.2
patch
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.7.1
initial
2 CVEs
CVE-2024-45405
GHSA-m8rp-vv92-46c7
RUSTSEC-2024-0371
Sep 06, 2024
gix-path improperly resolves configuration path reported by Git
Medium
Local
High
Low
Summary
DetailsIn Affected versions of https://github.com/Byron/gitoxide/blob/1cfe577d461293879e91538dbc4bbfe01722e1e8/gix-path/src/env/git/mod.rs#L138-L142 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. This is not limited to paths with unusual characters such as quotation marks or newlines. Unless Rarely, the configuration file PoCQuick demonstration on UnixOn a Unix-like system in which Git supports no higher scope than
If the above conditions are satisfied and the
Demonstration across user accounts on WindowsOn a test system running Windows on which Git for Windows is not installed system-wide—resembling a scenario in which users who wish to use Git are expected to install it themselves for their accounts—create two accounts, with these usernames:
As Ren, run these commands in PowerShell:
(The As Renée:
The ImpactOn a single-user system, it is not possible to exploit this, unless Exploitation is unlikely even on a multi-user system, though it is plausible in some uncommon configurations or use cases. It is especially unlikely with Apple Git on macOS, due to its very high scoped configuration in The likelihood of exploitation may be higher on Windows, where attacks such as those shown in the Windows proof-of-concept above can be performed due to the status of In general, exploitation is more likely to succeed if at least one of the following applies:
However, exploitation is expected to be very difficult even under any combination of those factors. Although the effect here is similar to CVE-2022-24765 once exploited, a greater degree of user interaction would usually be required, and the attack complexity here is much higher because the necessary conditions are uncommon and challenging to predict. Fixed in
0.10.11
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-45305
GHSA-v26r-4c9c-h3j6
RUSTSEC-2024-0367
Sep 03, 2024
gix-path uses local config across repos when it is the highest scope
Low
Local
High
None
Summary
DetailsIn https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L91 https://github.com/Byron/gitoxide/blob/12251eb052df30105538fa831e641eea557f13d8/gix-path/src/env/git/mod.rs#L112 While the configuration variable of highest scope is not usually in the local scope, there are practical situations where this occurs:
A user may use either or both of the latter two techniques to turn off an undesired configuration or to create a more replicable environment. Such a user would expect that this results in a more controlled configuration. Often, when located inside one repository, a user performs operations on that repository or that are not specific to any repository. In such use, local configuration is typically desired or at least acceptable, and mistaking it as coming from another scope is not typically harmful. However, sometimes a user is in one repository and operates on another repository. A major case where this occurs is cloning one repository while located in another. This can be done in an ad-hoc fashion, including when cloning the repository outside of the one we are inside. It may also potentially be automated by an application for purposes such as submodule handling. Two kinds of problems are anticipated:
PoCIn this example, we send mock These instructions are written for a Unix shell, but they will work in other shells, including in PowerShell on Windows if the method of setting environment variables is adapted and
While this procedure uses the same remote host for both repositories, this is not a required element. If the second repository had a different, untrusted host, the extra header would still be sent. ImpactIt 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. In the example shown above, more secure general practices would avoid it: using a credential manager, or even using Fixed in
0.10.10
References
Updated Sep 10, 2026 · Source: OSV.dev |