CVE-2024-25711
published high CVSS 3.1 · 7.1<dev-util/diffoscope-257: Information disclosure vulnerability when diffing GPG artifacts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | diffoscope | Fixed | 256-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | diffoscopeaarch64 | Advisory build | 261-1.1 | OPENSUSE-SU-2024:13792-1 |
| Alpine Linux | v3.19 | diffoscope | Fixed | 256-r0 | Package fix record |
| Alpine Linux | v3.20 | diffoscope | Fixed | 256-r0 | Package fix record |
| Alpine Linux | v3.21 | diffoscope | Fixed | 256-r0 | Package fix record |
| Alpine Linux | v3.22 | diffoscope | Fixed | 256-r0 | Package fix record |
| Alpine Linux | v3.23 | diffoscope | Fixed | 256-r0 | Package fix record |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.24 | diffoscope | Fixed | 256-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | diffoscopeppc64le | Advisory build | 261-1.1 | OPENSUSE-SU-2024:13792-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | diffoscopes390x | Advisory build | 261-1.1 | OPENSUSE-SU-2024:13792-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | diffoscopex86_64 | Advisory build | 261-1.1 | OPENSUSE-SU-2024:13792-1 |
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 advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4- FEDORA-2024-3383326db4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/
- https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e
- https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fd261a6d57525a43998760158de24d7e52235cc98caf08ea265d11336e2cf6b1
- Ingested
- 23 Sep 2026, 08:20:06 UTC
- Source record
- Official CVE record