gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gitoxide | gitoxide | unaffected |
|
|||||||||
| gitoxide | gix-submodule | unaffected |
|
|||||||||
| gitoxide | gix | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gitoxidelabs | Gitoxide |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-f26g-jm89-4g65 | gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.651% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:gitoxidelabs:gitoxide:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | gix-submodule before 0.82.0 incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution. | gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution. |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gitoxidelabs
Gitoxidelabs gitoxide |
|
| Vendors & Products |
Gitoxidelabs
Gitoxidelabs gitoxide |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | gix-submodule before 0.82.0 incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution. | |
| Title | gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule | |
| Weaknesses | CWE-77 | |
| References |
|
|
| Metrics |
cvssV3_1
|