mindsdb/mindsdb · Security
MindsDB Eval Injection vulnerability
- GHSA ID
- GHSA-wcjw-3v6p-4v3r
- CVE ID
- CVE-2024-45846
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
An arbitrary code execution vulnerability exists in versions 23.10.3.0 up to 24.7.4.1 of the MindsDB platform, when the Weaviate integration is installed on the server. If a specially crafted ‘SELECT WHERE’ clause containing Python code is run against a database created with the Weaviate engine, the code will be passed to an eval function and executed on the server.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45846 ↗
- https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb ↗
- https://github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-77.yaml ↗
- https://github.com/advisories/GHSA-wcjw-3v6p-4v3r ↗