DJL ZipUtils/TarUtils PT Allows File Write
CVE-2025-0851 Published on January 29, 2025
Path traversal issue in Deep Java Library
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.
Vulnerability Analysis
CVE-2025-0851 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Types
Absolute Path Traversal
The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as "/abs/path" that can resolve to a location that is outside of that directory. This allows attackers to traverse the file system to access files or directories that are outside of the restricted directory.
External Control of File Name or Path
The software allows user input to control or influence paths or file names that are used in filesystem operations.
Products Associated with CVE-2025-0851
Want to know whenever a new CVE is published for Amazon Aws? stack.watch will email you.
Affected Versions
AWS DeepJavaLibrary:- Version 0.1.0 and below 0.31.1 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2025-0851
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | ai.djl:api | < 0.31.1 | 0.31.1 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.