MindsDB Eval Injection vulnerability
mindsdb
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mindsdb PyPI |
|
|
Original description
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.
From the CVE record · HiddenLayer
References
- hiddenlayer.com/sai-security-advisory/2024-09-mindsdbExploit
- github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45847.json
- nvd.nist.gov/vuln/detail/CVE-2024-45847
- github.com/mindsdb/mindsdb
- github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80
- hiddenlayer.com/sai-security-advisory/2024-09-mindsdb
- pypi.org/project/mindsdb
- github.com/advisories/GHSA-crmg-rp64-5cm3