GitPython before 3.1.53 Config Injection via Submodule Names
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gitpython-developers | GitPython | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gitpython-developers | Gitpython |
|
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4872-1 | python-git security update |
Github GHSA |
GHSA-3rp5-jjmw-4wv2 | GitPython: git-config section-name injection enables arbitrary config directives (core.sshCommand RCE) |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.268% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gitpython Project
Gitpython Project gitpython |
|
| CPEs | cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* | |
| Vendors & Products |
Gitpython Project
Gitpython Project gitpython |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gitpython-developers
Gitpython-developers gitpython |
|
| Vendors & Products |
Gitpython-developers
Gitpython-developers gitpython |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | GitPython before 3.1.53 fails to properly escape section names in git config files, allowing attackers to inject arbitrary configuration directives through malicious submodule names. Attackers can inject core.sshCommand or other dangerous config keys into the victim's .git/config via create_submodule or clone_from operations, achieving remote code execution when git performs ssh operations. | |
| Title | GitPython before 3.1.53 Config Injection via Submodule Names | |
| Weaknesses | CWE-74 | |
| References |
| |
| Metrics |
cvssV3_1
|