Advisory

PYSEC-2024-224

Also known as: BIT-mlflow-2024-27134, CVE-2024-27134, GHSA-qpgc-w4mg-6v92

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-11-25 14:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

mlflow

PyPI · All systems

Affected

  • introduced 0, fixed 2.16.0 (ecosystem)

Fixed versions

2.16.0

Fix

  • Fixed version 2.16.0
    pip install --upgrade mlflow==2.16.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