Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mindsdb
  4. ›
  5. CVE-2023-30620

CVE-2023-30620: mindsdb arbitrary file write when extracting a remotely retrieved Tarball

March 30, 2023 (updated September 25, 2024)

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.

References

  • github.com/advisories/GHSA-2g5w-29q9-w6hx
  • github.com/mindsdb/mindsdb
  • github.com/mindsdb/mindsdb/blob/afedd37c16e579b6dc075b0814e42d0505ccdc07/mindsdb/api/http/namespaces/file.py
  • github.com/mindsdb/mindsdb/commit/4419b0f0019c000db390b54d8b9d06e1d3670039
  • github.com/mindsdb/mindsdb/releases/tag/v23.2.1.0
  • github.com/mindsdb/mindsdb/security/advisories/GHSA-2g5w-29q9-w6hx
  • github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2023-27.yaml
  • nvd.nist.gov/vuln/detail/CVE-2023-30620

Code Behaviors & Features

Detect and mitigate CVE-2023-30620 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 23.2.1.0

Fixed versions

  • 23.2.1.0

Solution

Upgrade to version 23.2.1.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/mindsdb/CVE-2023-30620.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:06 +0000.