Vulnerabilities · 2023 · Mindsdb
CVE-2023-30620
Mindsdb vulnerability
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
Mindsdb. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mindsdb runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mindsdb/mindsdb/security/advisories/GHSA-2g5w-29q9-w6hx · Exploit
- github.com/mindsdb/mindsdb/commit/4419b0f0019c000db390b54d8b9d06e1d3670039 · Patch
- github.com/mindsdb/mindsdb/releases/tag/v23.2.1.0
- github.com/mindsdb/mindsdb/blob/afedd37c16e579b6dc075b0814e42d0505ccdc07/mindsdb/api/http/
- nvd.nist.gov/vuln/detail/CVE-2023-30620
- github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2023-27.yaml
- github.com/advisories/GHSA-2g5w-29q9-w6hx
- nvd.nist.gov/vuln/detail/CVE-2023-30620
- cve.org/CVERecord?id=CVE-2023-30620
More vulnerabilities in Mindsdb products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.