CVE-2024-45854 MindsDB Deserialization of Untrusted Data vulnerability

High 7.1 Published Updated

Attackers can execute arbitrary code on MindsDB servers by uploading a malicious model and triggering a describe query.

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-45854?

CVE-2024-45854 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.3.0 and newer of the MindsDB platform, enabling a maliciously uploaded ‘inhouse’ model to run arbitrary code on the server when a ‘describe’ query is run on it.

Weakness: CWE-502

Which versions are affected by CVE-2024-45854?

3 open source packages ship an affected version, including mindsdb. It affects 1 product.

PackageAffectedFixed in
mindsdb PyPIFrom 23.10.3.0None
mindsdb PyPIFrom 23.10.3.0 to 24.9.2.1None
mindsdb PyPIFrom 23.10.3.0 to 24.9.2.1None

Products include Mindsdb Mindsdb.

How do I fix CVE-2024-45854?

No fix has been published for CVE-2024-45854 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-45854 being exploited?

There is no known exploitation of CVE-2024-45854 in the wild and no public exploit code.

Sources

Also known as GHSA-7vhh-gfjc-x8rm, PYSEC-2024-84.

Is CVE-2024-45854 in your software?

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

Check your SBOMs for free