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

EcosystemPackageFixed inAdvisory
Alpine:v3.20diffoscope256-r0ALPINE-CVE-2024-25711
Alpine:v3.21diffoscope256-r0ALPINE-CVE-2024-25711
Alpine:v3.22diffoscope256-r0ALPINE-CVE-2024-25711
Alpine:v3.23diffoscope256-r0ALPINE-CVE-2024-25711
Alpine:v3.24diffoscope256-r0ALPINE-CVE-2024-25711
Debian:12diffoscopeno fix listedDEBIAN-CVE-2024-25711
Debian:13diffoscope256DEBIAN-CVE-2024-25711
Debian:14diffoscope256DEBIAN-CVE-2024-25711
PyPIdiffoscope256PYSEC-2024-41
PyPIdiffoscope256GHSA-33w6-hvmq-gh4x
Ubuntu:22.04:LTSdiffoscopeno fix listedUBUNTU-CVE-2024-25711
Ubuntu:24.04:LTSdiffoscopeno fix listedUBUNTU-CVE-2024-25711

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References