GHSA-539m-9xh6-q6rr: GitPython: Incomplete unsafe_git_archive_options denylist omits --add-file / --add-virtual-file, enabling arbitrary file read via Repo.archive()
Repo.archive() does call the option guard, so this is not a missing-guard report. The guard is present and working; the denylist it consults is incomplete.
References
- github.com/advisories/GHSA-539m-9xh6-q6rr
- github.com/gitpython-developers/GitPython/commit/7a4f5dcb7bf3cbcbf6e438017efcdfe0bc0d36ca
- github.com/gitpython-developers/GitPython/pull/2193
- github.com/gitpython-developers/GitPython/releases/tag/3.1.57
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr
Code Behaviors & Features
Detect and mitigate GHSA-539m-9xh6-q6rr with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →