Description (CNA)
GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| gitpython-developers / GitPython | affected 0 before 3.1.57; unaffected 3.1.57 |
CWE
CWE-22
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3f7w-8rr8-f37f
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-and-read
ADP enrichment
No English description supplied.
No references supplied.