CVE-2024-37902
JSON

10.0critical

Path thraversal in DeepJavaLibrary

Severity
10.0critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.78% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-w877-jfw7-46rj

Description

DeepJavaLibrary(DJL) is an Engine-Agnostic Deep Learning Framework in Java. DJL versions 0.1.0 through 0.27.0 do not prevent absolute path archived artifacts from inserting archived files directly into the system, overwriting system files. This is fixed in DJL 0.28.0 and patched in DJL Large Model Inference containers version 0.27.0. Users are advised to upgrade.

Affected

Product or packageVersionsReported by
deepjavalibrary djl>= 0.1.0, < 0.28.0, from 0.1.0 before 0.28CVE List
ai.djl:api (Maven)from 0.1.0 before 0.28.0GitHub Advisory Database

All scores

GitHub_M10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

DeepJavaLibrary(DJL) is an Engine-Agnostic Deep Learning Framework in Java. DJL versions 0.1.0 through 0.27.0 do not prevent absolute path archived artifacts from inserting archived files directly into the system, overwriting system files. This is fixed in DJL 0.28.0 and patched in DJL Large Model Inference containers version 0.27.0. Users are advised to upgrade.

GitHub Advisory Database

Summary

DeepJavaLibrary(DJL) versions 0.1.0 through 0.27.0 do not prevent absolute path archived artifacts from inserting archived files directly into the system, overwriting system files. This is fixed in DJL 0.28.0 and patched in DJL Large Model Inference containers 0.27.0.

Impacted versions: 0.1.0 through 0.27.0

Patches

Patched Deep Learning Containers: v1.1-djl-0.27.0-inf-cpu-full v1.4-djl-0.27.0-inf-ds-0.12.6 v1.4-djl-0.27.0-inf-trt-0.8.0 v1.3-djl-0.27.0-inf-neuronx-sdk2.18.1

Patched Library: v0.28.0

NVD (es)

DeepJavaLibrary (DJL) es un framework de aprendizaje profundo independiente del motor en Java. Las versiones de DJL 0.1.0 a 0.27.0 no impiden que los artefactos archivados de ruta absoluta inserten archivos archivados directamente en el sistema, sobrescribiendo los archivos del sistema. Esto se solucionó en DJL 0.28.0 y se parcheó en los contenedores DJL Large Model Inference versión 0.27.0. Se recomienda a los usuarios que actualicen.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-37902 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-w877-jfw7-46rj changed 2026-09-10CC-BY-4.0
NVDCVE-2024-37902 changed 2026-06-17Public domain