Skip to content
OpenAdvisories
High · 7.1 CVE-2024-25711 EUVD-2024-0035GHSA-33w6-hvmq-gh4xPYSEC-2024-41

diffoscope Path Traversal vulnerability

Published Feb 11, 2024 · Updated Nov 4, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 diffoscope 256 —
Debian 13 diffoscope 256 —
Debian 12 diffoscope No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS diffoscope No fix yet —
Ubuntu 22.04 LTS diffoscope No fix yet —
Ubuntu 20.04 LTS diffoscope No fix yet —
Ubuntu 18.04 LTS diffoscope No fix yet —
Ubuntu 16.04 LTS diffoscope No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed diffoscope 261-1.1 openSUSE-SU-2024:13792-1
ReleasePackageFixed inAdvisory
Alpine v3.24 diffoscope 256-r0 —
Alpine v3.23 diffoscope 256-r0 —
Alpine v3.22 diffoscope 256-r0 —
Alpine v3.21 diffoscope 256-r0 —
Alpine v3.20 diffoscope 256-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 diffoscope 256-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI diffoscope < 256 256 GHSA-33w6-hvmq-gh4x

Advisories 1

References