CVE-2024-25711 Affecting diffoscope package, versions <256-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE320-DIFFOSCOPE-7009011
  • published23 May 2024
  • disclosed27 Feb 2024

Introduced: 27 Feb 2024

CVE-2024-25711  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 diffoscope to version 256-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream diffoscope package and not the diffoscope package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

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.