GHSA-897x-xvj8-42rq
Zip slip in mleap
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | ml.combust.mleap:mleap-runtime_2.12 | < 0.23.1 | 0.23.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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
References
External links from the advisory. They lead to third-party sites.