Skip to content
OpenAdvisories
High · 7.8 CVE-2024-2914 EUVD-2024-27857GHSA-g8hw-97v7-43q8

TarSlip Vulnerability in deepjavalibrary/djl

Published Jun 6, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

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

VendorProductAffectedFixed
deepjavalibrary deepjavalibrary/djl unspecified – < 0.27.0 0.27.0

References