PT-2024-21107
CVE-2024-25711
·
Published
2024-02-11
·
Updated
2026-09-30
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions
diffoscope versions prior to 256
Description
The issue allows directory traversal via an embedded filename in a GPG file, potentially disclosing contents of any file, such as ../.ssh/id rsa, to an attacker. This occurs because the value of the
gpg --use-embedded-filenames option is trusted.Recommendations
For versions prior to 256, update to version 256 or later to resolve the issue. As a temporary workaround, consider disabling the use of embedded filenames in GPG files to minimize the risk of exploitation. Restrict access to sensitive files and directories to prevent potential disclosure of their contents.
Found an issue in the description? Have something to add? Feel free to write us 👾