Path Traversal in Mindsdb
CVE-2023-30620
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.010, 63.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mindsdb — versions < 23.2.1.0, < 23.2.1.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Sim4n6/Sim4n6). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/mindsdb/mindsdb/security/advisories/GHSA-2g5w-29q9-w6hx (Exploit, Mitigation, Vendor Advisory)
- https://github.com/mindsdb/mindsdb/commit/4419b0f0019c000db390b54d8b9d06e1d3670039 (Patch)
- https://github.com/mindsdb/mindsdb/releases/tag/v23.2.1.0 (Release Notes)