Advisory

PYSEC-2023-27

Also known as: CVE-2023-30620, GHSA-2g5w-29q9-w6hx

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2023-04-21 21:15 UTC
Modified
2023-11-08 04:12 UTC

Affected packages and fixes

mindsdb

PyPI · All systems

Affected

  • introduced 0, fixed 23.2.1.0 (ecosystem)

Fixed versions

23.2.1.0

Fix

  • Fixed version 23.2.1.0
    pip install --upgrade mindsdb==23.2.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences