Browse / AI Framework and Platform Flaws / CVE-2024-45847
MindsDB Eval Injection vulnerability
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Code and command execution
- Affected
- mindsdb (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.9% chance of exploitation in 30 days
How it works, in short
An UPDATE query carrying Python code is passed to eval on the server when certain integrations are installed. (Our summary, written by a model. The source text is below.)
Details
An arbitrary code execution vulnerability exists in versions 23.11.4.2 up to 24.7.4.1 of the MindsDB platform, when one of several integrations is installed on the server. If a specially crafted ‘UPDATE’ query containing Python code is run against a database created with the specified integration engine, the code will be passed to an eval function and executed on the server.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45847
- https://github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80
- https://github.com/mindsdb/mindsdb
- https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb
Source: GitHub Advisory Database, used under CC BY 4.0.