Description (CNA)
GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to attacker-chosen file paths at process privilege level.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| gitpython-developers / GitPython | affected 0 before 3.1.54; unaffected 3.1.54 |
CWE
CWE-88
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fjr4-x663-mwxc
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-via-diff
ADP enrichment
No English description supplied.