Every CVE Search/ Get API key

CVE-2024-25711

diffoscope Path Traversal vulnerability

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.98%Up 0.9 points since Feb 11, 2024
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2024-25711
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02
CVE List 7.1

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.

Record
CVE-2024-25711
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02
EUVDEUVD-2024-0035 7.1

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.

Record
EUVD-2024-0035
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-33w6-hvmq-gh4x No score

diffoscope 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.

Record
GHSA-33w6-hvmq-gh4x
Updated
2026-11-02
OSVALPINE-CVE-2024-25711 7.5

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.

Record
ALPINE-CVE-2024-25711
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-03
OSV 7.5

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.

Record
CVE-2024-25711
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2024-25711 7.5

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.

Record
DEBIAN-CVE-2024-25711
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2024-25711 7.1

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.

Record
UBUNTU-CVE-2024-25711
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-33w6-hvmq-gh4x No score

diffoscope 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.

Record
GHSA-33w6-hvmq-gh4x
Updated
2026-11-02
OSVopenSUSE-SU-2024:13792-1 No score

diffoscope-261-1.1 on GA media

These are all security issues fixed in the diffoscope-261-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13792-1
Updated
2026-11-02
OSVPYSEC-2024-41 No score

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.

Record
PYSEC-2024-41
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
diffoscope
PyPI
before 256
256
diffoscope
Alpine:v3.19
before 256-r0
256-r0
diffoscope
Alpine:v3.20
before 256-r0
256-r0
diffoscope
Alpine:v3.21
before 256-r0
256-r0
diffoscope
Alpine:v3.22
before 256-r0
256-r0
diffoscope
Alpine:v3.23
before 256-r0
256-r0
diffoscope
Alpine:v3.24
before 256-r0
256-r0
diffoscope
Debian:12
All versions, plus listed versions
240240+deb12u1241242243
Show 45 moreShow less
244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
None known
diffoscope
Debian:13
before 256
256
diffoscope
Debian:14
before 256
256
Show 7 moreShow less
Affected packages
PackageAffectedFixed
diffoscope
PyPI
before 256, plus listed versions
100101102103104
Show 45 moreShow less
105106107108110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
256
diffoscope
Ubuntu:16.04:LTS
All versions, plus listed versions
33384142484951
None known
diffoscope
Ubuntu:18.04:LTS
All versions, plus listed versions
878890build191build191ubuntu192ubuntu193ubuntu1
None known
diffoscope
Ubuntu:20.04:LTS
All versions, plus listed versions
125131132133134135136137
None known
diffoscope
Ubuntu:22.04:LTS
All versions, plus listed versions
180194build195200201
Show 4 moreShow less
202203204205
None known
diffoscope
Ubuntu:24.04:LTS
All versions, plus listed versions
249251253254255257258259
None known
diffoscope
openSUSE:Tumbleweed
before 261-1.1
261-1.1

History

History
RecordedChangedSources
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-25711 is a high vulnerability (CVSS 7.5) in Reproducible Builds Diffoscope, published February 11, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.98%, the 62nd percentile. Fixed in diffoscope 256.

References

Show 8 moreShow less
This page doesn't list everything

Left out here: 210 versions. The JSON record has them.

MoveEnter Open