{"id":"GHSA-7vhh-gfjc-x8rm","summary":"MindsDB Deserialization of Untrusted Data vulnerability","details":"Deserialization of untrusted data can occur in versions 23.10.3.0 and newer of the MindsDB platform, enabling a maliciously uploaded ‘inhouse’ model to run arbitrary code on the server when a ‘describe’ query is run on it.","aliases":["CVE-2024-45854","PYSEC-2024-84"],"modified":"2024-09-17T15:47:19.665500Z","published":"2024-09-12T15:33:01Z","database_specific":{"nvd_published_at":"2024-09-12T13:15:14Z","cwe_ids":["CWE-502"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-09-12T17:38:44Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45854"},{"type":"PACKAGE","url":"https://github.com/mindsdb/mindsdb"},{"type":"WEB","url":"https://github.com/mindsdb/mindsdb/blob/v24.9.2.1/mindsdb/integrations/handlers/byom_handler/byom_handler.py#L444-L449"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-84.yaml"},{"type":"WEB","url":"https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb"}],"affected":[{"package":{"name":"mindsdb","ecosystem":"PyPI","purl":"pkg:pypi/mindsdb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"23.10.3.0"},{"last_affected":"24.9.2.1"}]}],"versions":["23.10.3.0","23.10.3.1","23.10.5.0","23.11.1.0","23.11.4.0","23.11.4.1","23.11.4.4a6","23.12.4.0","23.12.4.1","23.12.4.2","24.1.4.0","24.2.3.0","24.3.4.0","24.3.4.1","24.3.4.2","24.3.5.0","24.4.2.0","24.4.2.1","24.4.3.0","24.5.4.0","24.6.1.0","24.6.1.1","24.6.2.0","24.6.2.2","24.6.3.0","24.6.3.1","24.6.4.1","24.7.1.0","24.7.2.0","24.7.3.0","24.7.4.0","24.7.4.1","24.7.5.0","24.8.1.0","24.8.1.1","24.8.2.0","24.8.3.0","24.8.4.0","24.9.1.0","24.9.2.0","24.9.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-7vhh-gfjc-x8rm/GHSA-7vhh-gfjc-x8rm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}