CVE-2023-6709 Improper Neutralization of Special Elements Used in a Template Engine in mlflow/mlflow

Critical 10.0 Published Updated

Attackers can execute arbitrary code via template injection in MLflow, requiring an upgrade to secure the machine learning platform.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-6709?

CVE-2023-6709 is a critical code injection vulnerability in Lfprojects Mlflow, published on 12 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Neutralization of Special Elements Used in a Template Engine in GitHub repository mlflow/mlflow prior to 2.9.2.

Weakness: CWE-1336

Which versions are affected by CVE-2023-6709?

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

PackageAffectedFixed in
mlflow BitnamiAll versions2.9.2
mlflow PyPIAll versions2.9.2
mlflow PyPIAll versions2.9.2
mlflow PyPIAll versions2.9.2

Products include Lfprojects Mlflow.

How do I fix CVE-2023-6709?

Upgrade mlflow to 2.9.2 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-6709 being exploited?

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

All Lfprojects Mlflow vulnerabilities

Sources

Also known as BIT-mlflow-2023-6709, GHSA-cxfr-5q3r-2rc2, PYSEC-2023-281.

Is CVE-2023-6709 in your software?

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

Check your SBOMs for free