Skip to main content
← All vulnerabilities
CVE-2023-30620PYSEC-2023-27GHSA-2G5W-29Q9-W6HX

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 23.2.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • mindsdb mindsdb

    fixed in 23.2.1.0

  • mindsdbPyPI

    fixed in 23.2.1.0

References 3

GitHub · mindsdb/mindsdb