Path traversal in ark - CVE-2024-57966
Published: February 10, 2025 / Updated: February 10, 2025
Vulnerability identifier: #VU103730
CSH Severity: Medium
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-57966
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 libarchiveplugin.cpp. A remote attacker can use a specially crafted archive and install arbitrary files on the system.
Affected software
ark
Debian Linux
Slackware Linux
openEuler
ark
ark-libs
ark-debugsource
ark-debuginfo
ark (Debian package)
Debian Linux
Slackware Linux
openEuler
ark
ark-libs
ark-debugsource
ark-debuginfo
ark (Debian package)
How to mitigate CVE-2024-57966
Install updates from vendor's website.
ark - update to 24.12.0
ark - update to 21.12.1
ark-libs - addressed in versions 22.08.3-2, 23.08.4-3
ark-debugsource - addressed in versions 22.08.3-2, 23.08.4-3
ark - addressed in versions 22.08.3-2, 23.08.4-3
ark-debuginfo - addressed in versions 22.08.3-2, 23.08.4-3
ark (Debian package) - update to 4:22.12.3-1+deb12u1
ark - update to 21.12.1
ark-libs - addressed in versions 22.08.3-2, 23.08.4-3
ark-debugsource - addressed in versions 22.08.3-2, 23.08.4-3
ark - addressed in versions 22.08.3-2, 23.08.4-3
ark-debuginfo - addressed in versions 22.08.3-2, 23.08.4-3
ark (Debian package) - update to 4:22.12.3-1+deb12u1