SecurityContext

CVE-2024-2914: deepjavalibrary/djl - Path Traversal

  • Cve: CVE-2024-2914
  • Name: deepjavalibrary/djl - Path Traversal
  • 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.
  • Impact: Attackers can overwrite arbitrary files, leading to remote code execution, privilege escalation, data theft or manipulation, and denial of service.
  • Remediation: Update to version 0.27.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: remote_code_execution, privilege_escalation, information_disclosure, data_tampering, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00917
  • Epss percentile: 0.61111
  • Assignee: [email protected]
  • Published at: 2024-06-06T18:15:13Z
  • Age in days: 901
  • Modified at: 2026-06-17T07:25:48Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-2914
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-29Path Traversal: '\..\filename'
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/b064bd2f-bf6e-4fc0-898e-7d02a9b97e24nvd2024-06-06

References

UrlSourceTags
https://github.com/deepjavalibrary/djl/commit/5235be508cec9e8cb6f496a4ed2fa40e4f62c370nvdPatch
https://huntr.com/bounties/b064bd2f-bf6e-4fc0-898e-7d02a9b97e24nvdExploit, Issue Tracking, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
djl:deep_java_library= 0.26.0nonvd/v1/products/djl/deep_java_library

Projects

RepositoryLink kindsIndexedUrl
deepjavalibrary/djlcommityes/v1/repositories/deepjavalibrary/djl

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-06-06
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts