Advisory

GHSA-qpgc-w4mg-6v92

Also known as: BIT-mlflow-2024-27134, CVE-2024-27134, PYSEC-2024-224

Summary

MLflow's excessive directory permissions allow local privilege escalation

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: The source's own band: HIGH

Dates

Published
2024-11-25 18:33 UTC
Modified
2025-02-03 16:57 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences