cvedb.io
CVE-2022-23522
HIGH · CVSS 8.5
EPSS exploitation probability: 0%
Published 2023-03-30T19:15:06.353 · Last modified 2026-06-17T04:30:17.550

Summary

MindsDB is an open source machine learning platform. An unsafe extraction is being performed using `shutil.unpack_archive()` from a remotely retrieved tarball. Which may lead to the writing of the extracted files to an unintended location. This vulnerability is sometimes called a **TarSlip** or a **ZipSlip variant**. Unpacking files using the high-level function `shutil.unpack_archive()` from a potentially malicious tarball without validating that the destination file path remained within the intended destination directory may cause files to be overwritten outside the destination directory. An attacker could craft a malicious tarball with a filename path, such as `../../../../../../../../etc/passwd`, and then serve the archive remotely using a personal bucket `s3`, thus, retrieve the tarba

Affected products

mindsdb — mindsdb

Does this affect you?

Add your gear to cvedb and we'll alert you only when mindsdb ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.