GitHub Advisoryadvisory · PyPI
GHSA-33w6-hvmq-gh4x diffoscope Path Traversal vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2024-25711
- Ecosystem
- PyPI
- Packages
- diffoscope
- Severity
- Moderate
- Reviewed
- 2024-02-27
Affected packages
• PyPI diffoscope: < 256 → fixed in 256
Description
diffoscope before 256 allows directory traversal via an embedded filename in a GPG file. Contents of any file, such as ../.ssh/id_rsa, may be disclosed to an attacker. This occurs because the value of the gpg --use-embedded-filenames option is trusted.
Related
Alias · CVE (1)
- CVE-2024-25711 diffoscope before 256 allows directory traversal via an embedded filename in a GPG file. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-25711 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/diffoscope/PYSEC-2024-41.yaml web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47 web
- https://salsa.debian.org/reproducible-builds/diffoscope web
- https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e web
- https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361 web