CVE-2024-25711 json
diffoscope Path Traversal vulnerability
published 2024-02-11 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-0035 , GHSA-33w6-hvmq-gh4x , PYSEC-2024-41
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi diffoscope 256
- reproducible_builds diffoscope 256
- diffoscope Debian 14, Debian 13 256
debian advisories DEBIAN-CVE-2024-25711
- diffoscope openSUSE Tumbleweed 261-1.1
opensuse advisories openSUSE-SU-2024:13792-1
- diffoscope Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 256-r0
alpine advisories ALPINE-CVE-2024-25711
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-25711 updated
<dev-util/diffoscope-257: Information disclosure vulnerability when diffing GPG artifacts
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.98% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | diffoscope | <256 |
256 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
salsa.debian.org
/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e
web, patch
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/
vendor-advisory, mailing-list, web
-
salsa.debian.org
/reproducible-builds/diffoscope/-/issues/361
web, vendor-advisory
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/
-
nvd.nist.gov
/vuln/detail/CVE-2024-25711
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/diffoscope/PYSEC-2024-41.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47
web
-
salsa.debian.org
/reproducible-builds/diffoscope
web
-
github.com
/advisories/GHSA-33w6-hvmq-gh4x
advisory
Sources
- CVE List CVE-2024-25711
- GitHub Advisory GHSA-33w6-hvmq-gh4x
- NVD CVE-2024-25711
- OSV PYSEC-2024-41
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.