What’s Vulnerable › Vulnerabilities
CVE-2024-2914: TarSlip Vulnerability in deepjavalibrary/djl
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-06 · updated 2026-06-17
- Weakness: CWE-29
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
- deepjavalibrary/djl: 0.26.0
References
- https://github.com/deepjavalibrary/djl/commit/5235be508cec9e8cb6f496a4ed2fa40e4f62c370
- https://huntr.com/bounties/b064bd2f-bf6e-4fc0-898e-7d02a9b97e24
- https://github.com/deepjavalibrary/djl/commit/5235be508cec9e8cb6f496a4ed2fa40e4f62c370
- https://huntr.com/bounties/b064bd2f-bf6e-4fc0-898e-7d02a9b97e24
Get alerted when CVE-2024-2914 or the next vulnerability affects your stack