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.
The product 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.
Link | Tags |
---|---|
https://aws.amazon.com/security/security-bulletins/AWS-2025-003/ | vendor advisory |
https://github.com/deepjavalibrary/djl/security/advisories/GHSA-jcrp-x7w3-ffmg | third party advisory |