—
PYSEC-2024-41
Quick fix
PYSEC-2024-41 — diffoscope: upgrade to the fixed version with the command below.
pip install --upgrade 'diffoscope>=256'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361[WEB]
- https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/[WEB]
- https://github.com/advisories/GHSA-33w6-hvmq-gh4x[ADVISORY]