Skip to content

CVE-2024-2914 TarSlip Vulnerability in deepjavalibrary/djl

HighCVSS 8.8 EPSS 0.92%
Published
Updated
Exploit status
No public exploit known

Description

A TarSlip vulnerability exists in the deepjavalibrary/djl, affecting version 0.26.0 and fixed in version 0.27.0. This vulnerability allows an attacker to manipulate file paths within tar archives to overwrite arbitrary files on the target system. Exploitation of this vulnerability could lead to remote code execution, privilege escalation, data theft or manipulation, and denial of service. The vulnerability is due to improper validation of file paths during the extraction of tar files, as demonstrated in multiple occurrences within the library's codebase, including but not limited to the files_util.py and extract_imagenet.py scripts.

Affected products

ProductAffected versionsFixed in
deepjavalibrary/djl < 0.27.0 0.27.0
deepjavalibrary djl >= 026.0, < 0.27.0 0.27.0
djl deep java library = 0.26.0 No fix listed

References