CVE-2023-30620
mindsdb arbitrary file write when extracting a remotely retrieved Tarball
Description
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.
How to fix CVE-2023-30620
To remediate CVE-2023-30620, upgrade the affected package to a fixed version below.
- —upgrade to 23.2.1.0 or later
- —upgrade to 4419b0f0019c000db390b54d8b9d06e1d3670039 or later
Is CVE-2023-30620 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 23.2.1.0
- from 0, < 4419b0f0019c000db390b54d8b9d06e1d3670039 | from 0, < 23.2.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |