Path traversal in diffoscope - CVE-2024-25711

 

Path traversal in diffoscope - CVE-2024-25711

Published: March 6, 2024


Vulnerability identifier: #VU87168
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-25711
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to insufficient sanitization of user-supplied passed via an embedded filename in a GPG file. A remote attacker can pass a specially crafted filename containing directory traversal sequences and read contents of arbitrary files on the system.


Affected software

diffoscope
Fedora
diffoscope

How to mitigate CVE-2024-25711

Install update from vendor's website.

diffoscope - update to 256
diffoscope - addressed in versions 257-1.fc39, 257-1.fc40, 257-1.fc41

External References

Related Security Bulletins