WaratekVRT Sign in

CVE-2025-0851

Severity9.3 Critical CVSS 4.0 2 scores
Fixed in0.31.1
WeaknessAbsolute path traversal (CWE-36)
Published29 Jan 2025
Updated17 Jun 2026

Description

A path traversal issue in ZipUtils.unzip and TarUtils.untar in Deep Java Library (DJL) on all platforms allows a bad actor to write files to arbitrary locations.

CWE-73CWE-22 · Path traversal

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 26% chance in 30 days A model's forecast, not a report of exploitation. Higher than 98% of all scored CVEs.

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC skrkcb2/CVE-2025-0851 1 2025-02-17

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-36: Absolute Path Traversal.
Candidate fix https://github.com/deepjavalibrary/djl/security/advisories/GHSA-jcrp-x7w3-ffmg : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

How to mitigate CVE-2025-0851

Upgrade the affected software to 0.31.1 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.3 CRITICAL v4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 4.0 9.3 CRITICAL CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X AMZN Secondary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H AMZN Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
ai.djl:api 0 0.31.1 unbounded

Products and versions

1 product, 1 version entry
SourceVendorProductSchemeAffected versions
osv ai.djl api generic < 0.31.1

References

URLTags
https://github.com/deepjavalibrary/djl/security/advisories/GHSA-jcrp-x7w3-ffmg advisory
https://github.com/deepjavalibrary/djl/commit/7415cc5f72aae69ea9716a5e4f709af03a77a619 WEB
https://aws.amazon.com/security/security-bulletins/AWS-2025-003 WEB
https://github.com/deepjavalibrary/djl PACKAGE
https://github.com/deepjavalibrary/djl/releases/tag/v0.31.1 WEB
https://aws.amazon.com/security/security-bulletins/AWS-2025-003/

Timeline

Published2025-01-29By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.