CVE-2024-27134 Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf

High 7.0 Published Updated

Local attackers can escalate privileges via a race condition in MLflow's spark_udf API due to excessive directory permissions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-27134?

CVE-2024-27134 is a high-severity vulnerability in Lfprojects Mlflow, published on 25 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf. This behavior can be exploited by a local attacker to gain elevated permissions by using a ToCToU attack. The issue is only relevant when the spark_udf() MLflow API is called.

Weakness: CWE-367, CWE-276

Which versions are affected by CVE-2024-27134?

4 open source packages ship an affected version, including mlflow. It affects 1 product.

PackageAffectedFixed in
mlflow BitnamiAll versions2.16.0
mlflow PyPIAll versions2.16.0
mlflow PyPIAll versions2.16.0
mlflow PyPIAll versions2.16.0

Products include Lfprojects Mlflow.

How do I fix CVE-2024-27134?

Upgrade mlflow to 2.16.0 or later.

Is CVE-2024-27134 being exploited?

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

All Lfprojects Mlflow vulnerabilities

Sources

Also known as BIT-mlflow-2024-27134, GHSA-qpgc-w4mg-6v92, PYSEC-2024-224.

Is CVE-2024-27134 in your software?

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

Check your SBOMs for free