CVE-2024-27133 Insufficient sanitization in MLflow leads to XSS when running a recipe that uses an untrusted dataset.

High 7.5 Published Updated

Attackers can execute arbitrary code via XSS in Jupyter Notebook when processing untrusted datasets in MLflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-27133?

CVE-2024-27133 is a high-severity cross-site scripting vulnerability in Lfprojects Mlflow, published on 23 Feb 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Insufficient sanitization in MLflow leads to XSS when running a recipe that uses an untrusted dataset. This issue leads to a client-side RCE when running the recipe in Jupyter Notebook. The vulnerability stems from lack of sanitization over dataset table fields.

Weakness: CWE-79

Which versions are affected by CVE-2024-27133?

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

PackageAffectedFixed in
mlflow BitnamiAll versions2.10.0
mlflow PyPIAll versions2.10.0
mlflow PyPIAll versions2.10.0
mlflow PyPIAll versions2.10.0

Products include Lfprojects Mlflow.

How do I fix CVE-2024-27133?

Upgrade mlflow to 2.10.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-27133 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-27133 exists.

All Lfprojects Mlflow vulnerabilities

Sources

Also known as BIT-mlflow-2024-27133, GHSA-3v79-q7ph-j75h, PYSEC-2024-241.

Is CVE-2024-27133 in your software?

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

Check your SBOMs for free