Vulnerability · Published Feb 11, 2024 · Assigned by mitre
CVE-2024-25711
High 7.1
In plain English
A high-severity path traversal in the diffoscope package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.1High
Exploit odds (30 days)1.0%top 37.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | diffoscope | 256-r0 | ALPINE-CVE-2024-25711 |
| Alpine:v3.21 | diffoscope | 256-r0 | ALPINE-CVE-2024-25711 |
| Alpine:v3.22 | diffoscope | 256-r0 | ALPINE-CVE-2024-25711 |
| Alpine:v3.23 | diffoscope | 256-r0 | ALPINE-CVE-2024-25711 |
| Alpine:v3.24 | diffoscope | 256-r0 | ALPINE-CVE-2024-25711 |
| Debian:12 | diffoscope | no fix listed | DEBIAN-CVE-2024-25711 |
| Debian:13 | diffoscope | 256 | DEBIAN-CVE-2024-25711 |
| Debian:14 | diffoscope | 256 | DEBIAN-CVE-2024-25711 |
| PyPI | diffoscope | 256 | PYSEC-2024-41 |
| PyPI | diffoscope | 256 | GHSA-33w6-hvmq-gh4x |
| Ubuntu:22.04:LTS | diffoscope | no fix listed | UBUNTU-CVE-2024-25711 |
| Ubuntu:24.04:LTS | diffoscope | no fix listed | UBUNTU-CVE-2024-25711 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361
- https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e
- FEDORA-2024-3383326db4 vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/