Arbitrary File Write when Extracting a Remotely retrieved Tarball in mindsdb/mindsdb
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mindsdb | mindsdb | before 23.2.1.0 | 23.2.1.0 | Patch available | CNA |
| — | mindsdb (PyPI) | before 23.2.1.0 | 23.2.1.0 | Patch available | GHSA-2g5w-29q9-w6hx |
- mindsdb Vendormindsdb Affected before 23.2.1.0 Fixed in 23.2.1.0 Patch available CNA
- mindsdb (PyPI) Vendor— Affected before 23.2.1.0 Fixed in 23.2.1.0 Patch available GHSA-2g5w-29q9-w6hx
Remediation
- Fix · CNA mindsdb (mindsdb) Fixed in 23.2.1.0
- Fix · GHSA-2g5w-29q9-w6hx mindsdb (PyPI) Fixed in 23.2.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-30620
- 2026-10-03 Alias added: GHSA-2g5w-29q9-w6hx
References
Other 4
- https://github.com/mindsdb/mindsdb/releases/tag/v23.2.1.0
- https://github.com/mindsdb/mindsdb
- https://github.com/mindsdb/mindsdb/blob/afedd37c16e579b6dc075b0814e42d0505ccdc07/mindsdb/api/http/namespaces/file.py#L26..L134
- https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2023-27.yaml
More Mindsdb vulnerabilities
- TI-2024-16276 MindsDB Vulnerable to Bypass of SSRF Protection with DNS Rebinding CVSS 3.1CRITICAL 9.3
- TI-2026-21890 MindsDB has Path Traversal in /api/files Leading to Remote Code Execution CVSS 3.1HIGH 8.8
- TI-2024-30805 Code injection in mindsdb CVSS 3.1HIGH 8.8
- TI-2024-30804 Code injection in mindsdb CVSS 3.1HIGH 8.8
- TI-2024-30803 Code injection in mindsdb CVSS 3.1HIGH 8.8
- TI-2024-30802 Code injection in mindsdb CVSS 3.1HIGH 8.8
Sources
- CVE-2023-30620 · CVE Program
- CVE-2023-30620 · NVD
- FIRST EPSS
- GHSA-2g5w-29q9-w6hx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences