CVE-2024-25711
HIGH 7.5CVSS 3.1diffoscope Path Traversal vulnerability
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.
- Published
- 27 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-33w6-hvmq-gh4xPYSEC-2024-41
- Sources
- NVDJSONOSV GHSA-33w6-hvmq-gh4xJSONOSV PYSEC-2024-41JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | reproducible_builds | diffoscopecpe:2.3:a:reproducible_builds:diffoscope:*:*:*:*:*:*:*:* |
< 256 | 256 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
= 39 | |
| OSV | PyPI | diffoscope | < 256 | 256 |
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/ · Mailing List, WEB
- https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e · Patch, WEB
- https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361 · Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/
- 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://salsa.debian.org/reproducible-builds/diffoscope · WEB
- https://github.com/advisories/GHSA-33w6-hvmq-gh4x · ADVISORY
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 27 Feb 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Feb 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Feb 2024)