CVE-2023-5245
Zip slip in mleap
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut GHSA (hoch).
Beschreibung
FileUtil.extract() enumerates all zip file entries and extracts each file without validating whether file paths in the archive are outside the intended directory. When creating an instance of TensorflowModel using the saved_model format and an exported tensorflow model, the apply() function invokes the vulnerable implementation of FileUtil.extract(). Arbitrary file creation can directly lead to code execution
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| maven::GitHub Security Advisory Maven | ml.combust.mleap:mleap-runtime_2.12 | 0.23.1 |
Referenzen
- https://github.com/combust/mleap
- https://github.com/combust/mleap/pull/866#issuecomment-1738032225
- https://nvd.nist.gov/vuln/detail/CVE-2023-5245
- https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656
- https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/