Home » Database

AVID-2026-R1455

Description

TarSlip Vulnerability in deepjavalibrary/djl (CVE-2024-2914)

Details

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.

Reason for inclusion in AVID: CVE-2024-2914 is a TarSlip path-traversal vulnerability in the DJL (deepjavalibrary/djl) library that allows manipulation of tar extraction resulting in potential RCE, privilege escalation, data theft/manipulation, and DoS. The library is used as part of AI workflows (model loading/training/deployment) and is a dependency in AI software stacks, making this a software supply-chain vulnerability affecting AI systems. The advisory provides CVE, CWE, CVSS metrics, and remediation (version 0.27.0+).

References

Affected or Relevant Artifacts

  • Developer: deepjavalibrary
  • Deployer: deepjavalibrary
  • Artifact Details:
TypeName
Systemdeepjavalibrary/djl

Impact

AVID Taxonomy Categorization

  • Risk domains: Security
  • SEP subcategories: S0100: Software Vulnerability
  • Lifecycle stages: L06: Deployment

CVSS

Version3.0
Vector StringCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score7.8
Base Severity🔴 High
Attack VectorLOCAL
Attack Complexity🟢 Low
Privileges RequiredNONE
User InteractionREQUIRED
ScopeUNCHANGED
Confidentiality Impact🔴 High
Integrity Impact🔴 High
Availability Impact🔴 High

CWE

IDDescription
CWE-29CWE-29 Path Traversal: ‘..\filename’

Other information

  • Report Type: Advisory
  • Credits:
  • Date Reported: 2024-06-06
  • Version: 0.3.3
  • AVID Entry