Skip to content
OpenAdvisories
High · 7.5 CVE-2023-30620 EUVD-2023-0148GHSA-2g5w-29q9-w6hxPYSEC-2023-27

Arbitrary File Write when Extracting a Remotely retrieved Tarball in mindsdb/mindsdb

Published Apr 21, 2023 · Updated Feb 4, 2025 · Assigned by GitHub_M

Description

mindsdb is a Machine Learning platform to help developers build AI solutions. In affected versions an unsafe extraction is being performed using `tarfile.extractall()` from a remotely retrieved tarball. Which may lead to the writing of the extracted files to an unintended location. Sometimes, the vulnerability is called a TarSlip or a ZipSlip variant. An attacker may leverage this vulnerability to overwrite any local file which the server process has access to. There is no risk of file exposure with this vulnerability. This issue has been addressed in release `23.2.1.0 `. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

VendorProductAffectedFixed
mindsdb mindsdb < 23.2.1.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mindsdb < 23.2.1.0 23.2.1.0 GHSA-2g5w-29q9-w6hx

References