CVE-2024-45851 json
MindsDB Eval Injection vulnerability
published 2024-09-12 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-0109 , GHSA-wf9g-c67g-h4ch , PYSEC-2024-81
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
An arbitrary code execution vulnerability exists in versions 23.10.5.0 up to 24.7.4.1 of the MindsDB platform, when the Microsoft SharePoint integration is installed on the server. For databases created with the SharePoint engine, an ‘INSERT’ query can be used for list item creation. If such a query is specially crafted to contain Python code and is run against the database, the code will be passed to an eval function and executed on the server.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hiddenlayer.com https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | mindsdb | >=23.10.5.0, <24.7.4.1 |
24.7.4.1 |
Affected products
- mindsdb mindsdb
Classification
References
-
github.com
/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80
web
-
hiddenlayer.com
/sai-security-advisory/2024-09-mindsdb/
exploit, third-party-advisory, evidence, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-45851
advisory
-
github.com
/mindsdb/mindsdb
package
-
github.com
/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-81.yaml
web
-
hiddenlayer.com
/sai-security-advisory/2024-09-mindsdb
web
-
github.com
/advisories/GHSA-wf9g-c67g-h4ch
advisory
Sources
- CVE List CVE-2024-45851
- GitHub Advisory GHSA-wf9g-c67g-h4ch
- NVD CVE-2024-45851
- OSV PYSEC-2024-81
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.