CVE-2024-25711
HIGH7.5EPSS 5.3%diffoscope Path Traversal vulnerability
Published: 2/27/2024Modified: 4/28/2026
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.
Affected packages (3)
- Debian/diffoscopefrom 0
- PyPI/diffoscopefrom 0, < 256
- PyPI/diffoscopefrom 0, < 256
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-25711
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-25711
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/diffoscope/PYSEC-2024-41.yaml
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/
- WEBhttps://salsa.debian.org/reproducible-builds/diffoscope
- WEBhttps://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e
- WEBhttps://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361