CVE-2024-45852 MindsDB Deserialization of Untrusted Data vulnerability

High 8.8 Published Updated

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.

PackageAffectedFixed in
mindsdb PyPIFrom 23.3.2.0None
mindsdb PyPIFrom 23.3.2.0 to 24.9.2.1None
mindsdb PyPIFrom 23.3.2.0 to 24.9.2.1None

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.

Sources

Also known as GHSA-7vhj-pfwv-hx3w, PYSEC-2024-82.

Is CVE-2024-45852 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free