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.archiv…
Medium CVSS 6.5
Summary
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.
In-depth triage
No in-depth report has been generated yet (DR-003 v2 AI pipeline is under construction).
Sources
- NVD DATABASE
Original Links
- 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
Timeline
- nvd_ingest NVD