CVE-2024-2914

TarSlip Vulnerability in deepjavalibrary/djl

Published Jun 6, 2024 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-27857 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00863}

epss

{'score': 0.00884}

Type Values Removed Values Added
First Time appeared Djl
Djl deep Java Library
Weaknesses CWE-22
CPEs cpe:2.3:a:djl:deep_java_library:0.26.0:*:*:*:*:*:*:*
Vendors & Products Djl
Djl deep Java Library
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Aug 1, 2024, 7:25 PM
Reserved
Mar 26, 2024, 2:05 PM
Status
Modified
Published
Jun 6, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:25 AM