Exposure of Resource to Wrong Sphere Affecting gix-path package, versions <0.10.10


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-GIXPATH-7856143
  • published2 Sept 2024
  • disclosed31 Aug 2024
  • creditEliah Kagan

Introduced: 31 Aug 2024

CVE-2024-45305  (opens in a new tab)
CWE-668  (opens in a new tab)

How to fix?

Upgrade gix-path to version 0.10.10 or higher.

Overview

gix-path is a gitoxide project crate dealing paths and their conversions

Affected versions of this package are vulnerable to Exposure of Resource to Wrong Sphere due to the misinterpretation of local repository configuration as system-wide configuration. An attacker can manipulate the configuration to leak sensitive information or misdirect operations by setting specific environment variables to alter the scope of configuration considered.

CVSS Scores

version 4.0
version 3.1