Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Zoranpandovskip

#35161of 60,593
8.5Total CVSS
Vulnerabilities · 1
PT-2023-12725
2023-03-30
8.5
CVE-2022-23522
Mindsdb
Mindsdb
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 issue 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 tarball through MindsDB and overwrite the system files of the hosting server.