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 reposito...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSpython-git |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSpython-git |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSpython-git |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSpython-git |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSpython-git |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSpython-git |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:26.04:LTSpython-git |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com