#VU87168 Path traversal in diffoscope - CVE-2024-25711


Vulnerability identifier: #VU87168

Vulnerability risk: Medium

CVSSv4.0: 2.7 [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/E:U/U:Green]

CVE-ID: CVE-2024-25711

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
diffoscope
Universal components / Libraries / Libraries used by multiple products

Vendor: diffoscope.org

Description

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

diffoscope: 1 - 255


External links
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361
https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability