Zip slip in mleap
High severity
GitHub Reviewed
Published
Nov 15, 2023
to the GitHub Advisory Database
•
Updated Nov 23, 2023
Package
Affected versions
< 0.23.1
Patched versions
0.23.1
Description
Published by the National Vulnerability Database
Nov 15, 2023
Published to the GitHub Advisory Database
Nov 15, 2023
Reviewed
Nov 23, 2023
Last updated
Nov 23, 2023
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