CVE-2024-45853 MindsDB Deserialization of Untrusted Data vulnerability
Attackers can execute arbitrary code on MindsDB servers by uploading malicious models that trigger unsafe deserialization during prediction.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-45853?
CVE-2024-45853 is a high-severity unsafe deserialization vulnerability in mindsdb, published on 12 Sep 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Deserialization of untrusted data can occur in versions 23.10.2.0 and newer of the MindsDB platform, enabling a maliciously uploaded ‘inhouse’ model to run arbitrary code on the server when used for a prediction.
Weakness: CWE-502
Which versions are affected by CVE-2024-45853?
3 open source packages ship an affected version, including mindsdb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mindsdb PyPI | From 23.10.2.0 | None |
mindsdb PyPI | From 23.10.2.0 to 24.9.2.1 | None |
mindsdb PyPI | From 23.10.2.0 to 24.9.2.1 | None |
Products include Mindsdb Mindsdb.
How do I fix CVE-2024-45853?
No fix has been published for CVE-2024-45853 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-45853 being exploited?
There is no known exploitation of CVE-2024-45853 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-q9r8-89xr-4xv4, PYSEC-2024-83.