Path traversal in Calibre - CVE-2024-6781

 

Path traversal in Calibre - CVE-2024-6781

Published: August 1, 2024


Vulnerability identifier: #VU95129
CSH Severity: High
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-6781
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 input validation error when processing directory traversal sequences in cmd_export.py. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


Affected software

Calibre
Gentoo Linux
Fedora
app-text/calibre
calibre

How to mitigate CVE-2024-6781

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

app-text/calibre - update to 7.16.0
calibre - addressed in versions 7.17.0-2.fc40, 7.17.0-3.fc40

External References

Related Security Bulletins