Description (CNA)
GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits --add-file and --add-virtual-file options. Attackers can supply these options to Repo.archive() to read arbitrary files from the filesystem and include them in the returned archive.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| gitpython-developers / GitPython | affected 0 before 3.1.57; unaffected 3.1.57 |
CWE
CWE-73
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-archive
ADP enrichment
No English description supplied.