CVE-2024-45848 json
MindsDB Eval Injection vulnerability
published 2y ago modified 4mo ago also EUVD-2024-0106 , GHSA-9gq6-6936-885w , PYSEC-2024-78
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
An arbitrary code execution vulnerability exists in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server. If a specially crafted ‘INSERT’ query containing Python code is run against a database created with the ChromaDB engine, the code will be passed to an eval function and executed on the server.
Patch / fix
Is CVE-2024-45848 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
0.84% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-11).
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.12.4.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-45848
advisory
-
github.com
/mindsdb/mindsdb
package
-
github.com
/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-78.yaml
web
-
hiddenlayer.com
/sai-security-advisory/2024-09-mindsdb
web
-
github.com
/advisories/GHSA-9gq6-6936-885w
advisory
Sources
- CVE List CVE-2024-45848
- GitHub Advisory GHSA-9gq6-6936-885w
- NVD CVE-2024-45848
- OSV PYSEC-2024-78
Fencer Intel 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.