CVE-2024-45852 MindsDB Deserialization of Untrusted Data vulnerability
Attackers can execute arbitrary code on MindsDB servers by uploading malicious models due to unsafe deserialization of untrusted data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-45852?
CVE-2024-45852 is a high-severity unsafe deserialization vulnerability in mindsdb, published on 12 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Deserialization of untrusted data can occur in versions 23.3.2.0 and newer of the MindsDB platform, enabling a maliciously uploaded model to run arbitrary code on the server when interacted with.
Weakness: CWE-502
Which versions are affected by CVE-2024-45852?
3 open source packages ship an affected version, including mindsdb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mindsdb PyPI | From 23.3.2.0 | None |
mindsdb PyPI | From 23.3.2.0 to 24.9.2.1 | None |
mindsdb PyPI | From 23.3.2.0 to 24.9.2.1 | None |
Products include Mindsdb Mindsdb.
How do I fix CVE-2024-45852?
No fix has been published for CVE-2024-45852 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2024-45852 being exploited?
There is no known exploitation of CVE-2024-45852 in the wild and no public exploit code.
Other vulnerabilities in mindsdb
- CVE-2024-24759 MindsDB Vulnerable to Bypass of SSRF Protection with DNS Rebinding
- CVE-2023-50731 MindsDB has arbitrary file write in file.py
- CVE-2023-38699 MindsDB 'Call to requests with verify=False disabling SSL certificate checks, security issue.' issue
- CVE-2024-45856 MindsDB Cross-site Scripting vulnerability
- CVE-2026-27483 MindsDB has Path Traversal in /api/files Leading to Remote Code Execution
Sources
Also known as GHSA-7vhj-pfwv-hx3w, PYSEC-2024-82.