{"api_version":"1","generated_at":"2026-05-04T18:34:42+00:00","cve":"CVE-2023-30620","urls":{"html":"https://cve.report/CVE-2023-30620","api":"https://cve.report/api/cve/CVE-2023-30620.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-30620","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-30620"},"summary":{"title":"CVE-2023-30620","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-04-21 21:15:00","updated_at":"2023-04-29 03:06:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/mindsdb/mindsdb/security/advisories/GHSA-2g5w-29q9-w6hx","name":"https://github.com/mindsdb/mindsdb/security/advisories/GHSA-2g5w-29q9-w6hx","refsource":"MISC","tags":[],"title":"Arbitrary File Write when Extracting a Remotely retrieved Tarball using `Tarfile.extractall()` in mindsdb/mindsdb · Advisory · mindsdb/mindsdb · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/mindsdb/mindsdb/commit/4419b0f0019c000db390b54d8b9d06e1d3670039","name":"https://github.com/mindsdb/mindsdb/commit/4419b0f0019c000db390b54d8b9d06e1d3670039","refsource":"MISC","tags":[],"title":"Use safe extract to prevent CVE-2007-4559 bug · mindsdb/mindsdb@4419b0f · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/mindsdb/mindsdb/releases/tag/v23.2.1.0","name":"https://github.com/mindsdb/mindsdb/releases/tag/v23.2.1.0","refsource":"MISC","tags":[],"title":"Release v23.2.1.0 · mindsdb/mindsdb · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-30620","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30620","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"30620","vulnerable":"1","versionEndIncluding":"23.1.5.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mindsdb","cpe5":"mindsdb","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-30620","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","cweId":"CWE-22"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"mindsdb","product":{"product_data":[{"product_name":"mindsdb","version":{"version_data":[{"version_affected":"=","version_value":"< 23.2.1.0 "}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/mindsdb/mindsdb/security/advisories/GHSA-2g5w-29q9-w6hx","refsource":"MISC","name":"https://github.com/mindsdb/mindsdb/security/advisories/GHSA-2g5w-29q9-w6hx"},{"url":"https://github.com/mindsdb/mindsdb/commit/4419b0f0019c000db390b54d8b9d06e1d3670039","refsource":"MISC","name":"https://github.com/mindsdb/mindsdb/commit/4419b0f0019c000db390b54d8b9d06e1d3670039"},{"url":"https://github.com/mindsdb/mindsdb/releases/tag/v23.2.1.0","refsource":"MISC","name":"https://github.com/mindsdb/mindsdb/releases/tag/v23.2.1.0"}]},"source":{"advisory":"GHSA-2g5w-29q9-w6hx","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-04-21 21:15:00","lastModifiedDate":"2023-04-29 03:06:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:*","versionEndIncluding":"23.1.5.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}