Description (CNA)
GitPython 3.1.59 fails to restrict the --no-index option in the high-level diff API, allowing attackers to read arbitrary filesystem paths as repository operands. Attackers can combine --no-index with -I/--ignore-matching-lines to create a content-dependent Boolean oracle, repeatedly querying local files to recover single-line secrets through distinguishable success or error responses.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| gitpython-developers / GitPython | affected 3.1.59 before 3.1.60; unaffected 3.1.60 |
CWE
CWE-88
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x
- https://www.vulncheck.com/advisories/gitpython-3.1.59-local-file-content-oracle-via-no-index
ADP enrichment
No English description supplied.
No references supplied.