CVE-2024-37902
DeepJavaLibrary API absolute path traversal
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | ai.djl:api | 0.28.0 |
| chainguard | opensearch-2 | 2.15.0-r0 |
| wolfi | opensearch-2 | 2.15.0-r0 |
References
- https://github.com/aws/deep-learning-containers/releases/tag/v1.1-djl-0.27.0-inf-cpu-full
- https://github.com/aws/deep-learning-containers/releases/tag/v1.3-djl-0.27.0-inf-neuronx-sdk2.18.1
- https://github.com/aws/deep-learning-containers/releases/tag/v1.4-djl-0.27.0-inf-ds-0.12.6
- https://github.com/aws/deep-learning-containers/releases/tag/v1.4-djl-0.27.0-inf-trt-0.8.0
- https://github.com/deepjavalibrary/djl
- https://github.com/deepjavalibrary/djl/releases/tag/v0.28.0
- https://github.com/deepjavalibrary/djl/security/advisories/GHSA-w877-jfw7-46rj
- https://nvd.nist.gov/vuln/detail/CVE-2024-37902