CVE-2023-30620
HIGH 7.5CVSS 3.1mindsdb arbitrary file write when extracting a remotely retrieved Tarball
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.
- Published
- 21 Apr 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-2g5w-29q9-w6hxPYSEC-2023-27
- Sources
- NVDJSONOSV GHSA-2g5w-29q9-w6hxJSONOSV PYSEC-2023-27JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mindsdb | mindsdbcpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:* |
<= 23.1.5.0 | |
| OSV | PyPI | mindsdb | < 23.2.1.0 | 23.2.1.0 |
References
- https://github.com/mindsdb/mindsdb/commit/4419b0f0019c000db390b54d8b9d06e1d3670039 · Patch, WEB, FIX
- https://github.com/mindsdb/mindsdb/releases/tag/v23.2.1.0 · Release Notes, WEB
- https://github.com/mindsdb/mindsdb/security/advisories/GHSA-2g5w-29q9-w6hx · Exploit, Mitigation, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2023-30620 · ADVISORY
- https://github.com/mindsdb/mindsdb · PACKAGE
- https://github.com/mindsdb/mindsdb/blob/afedd37c16e579b6dc075b0814e42d0505ccdc07/mindsdb/api/http/namespaces/file.py#L26..L134 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2023-27.yaml · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 21 Apr 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Apr 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Mar 2023)