Advisory

GHSA-33w6-hvmq-gh4x

Also known as: CVE-2024-25711, PYSEC-2024-41

Summary

diffoscope Path Traversal vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-02-27 03:31 UTC
Modified
2024-12-05 05:37 UTC

Affected packages and fixes

diffoscope

PyPI · All systems

Affected

  • introduced 0, fixed 256 (ecosystem)

Fixed versions

256

Fix

  • Fixed version 256
    pip install --upgrade diffoscope==256

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences