Advisory

PYSEC-2024-240

Also known as: BIT-mlflow-2024-27132, CVE-2024-27132, GHSA-6749-m5cp-6cg7

Summary

The record has no summary.

Details

Insufficient sanitization in MLflow leads to XSS when running an untrusted recipe.

This issue leads to a client-side RCE when running an untrusted recipe in Jupyter Notebook.

The vulnerability stems from lack of sanitization over template variables.

Severity

Critical Basis: CVSS v3 score 9.6, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Dates

Published
2024-02-23 22:15 UTC
Modified
2026-06-10 17:01 UTC

Affected packages and fixes

mlflow

PyPI · All systems

Affected

  • introduced 0, fixed 2.10.0 (ecosystem)

Fixed versions

2.10.0

Fix

  • Fixed version 2.10.0
    pip install --upgrade mlflow==2.10.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences