gitoxide before 0.82.0 Path Traversal via Submodule Name Validation Bypass
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GitoxideLabs | gitoxide | unaffected |
|
|||||||||
| GitoxideLabs | gitoxide | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gitoxidelabs | Gitoxide |
|
||||||||||||
| Gitoxidelabs | Gitoxide |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.657% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | gitoxide (Rust crates gix <= 0.72.0 and gix-validate <= 0.10.0) contains a path traversal vulnerability. The submodule name validation function in gix-validate only checks the first occurrence of '..' via name.find(b".."), allowing crafted names such as 'a..b/../../../.git/' to bypass the check; additionally this validation is never invoked in production code paths. Combined with a trust inheritance flaw in Submodule::open(), where the parent repository's git_dir_trust (Trust::Full) is cloned and the ownership verification is skipped, an attacker can craft a malicious .gitmodules file so that a victim tool built on gitoxide reads arbitrary git repository configuration (including embedded credentials) with full trust, bypassing safe-directory protections. Fixed in gix 0.82.0 and gix-validate 0.11.1. | |
| Title | gitoxide before 0.82.0 Path Traversal via Submodule Name Validation Bypass | |
| First Time appeared |
Gitoxidelabs
Gitoxidelabs gitoxide |
|
| Weaknesses | CWE-22 | |
| CPEs | cpe:2.3:a:gitoxidelabs:gitoxide:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gitoxidelabs
Gitoxidelabs gitoxide |
|
| References |
| |
| Metrics |
cvssV3_1
|