CVE-2023-6014: Mlflow MLflow Authentication Requirement Bypass Can Vulnerability

CRITICAL
Advisory Identifier: GHSA-4qq5-mxxx-m6gg
CVSS 9.1
CWE-598
Published
Advisory Summary

CVE-2023-6014 is a CRITICAL (CVSS 9.1) mlflow authentication requirement bypass can vulnerability (CWE-598: Use of HTTP Request With Sensitive Query String) affecting Mlflow libraries in the PyPI ecosystem. The issue involves mlflow authentication requirement bypass can allow a user to arbitrarily create an account. Remediation is available by upgrading affected packages to version 2.8.0.

CVE-2023-6014 at a Glance

CVE Identifier CVE-2023-6014
GHSA Identifier GHSA-4qq5-mxxx-m6gg
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-598: Use of HTTP Request With Sensitive Query String
Affected Product Mlflow
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2023-6014

To remediate this vulnerability, upgrade all affected Mlflow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mlflow fixed: 2.8.0
pip install mlflow>=2.8.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show mlflow

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2023-6014, inspect your installed packages using pip:

pip show mlflow

Analyze the terminal output to locate any version of Mlflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.8.0), your application is affected.

Note: The pip show mlflow command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-598: Use of HTTP Request With Sensitive Query String, where the web application uses an http method to process a request, but the request includes sensitive information in the query string. In Mlflow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An attacker is able to arbitrarily create an account in MLflow bypassing any authentication requirement.

CVE-2023-6014 Affected Mlflow Versions

1 component(s)
Fixed Versions:
2.8.0
Product / Package Ecosystem Affected Versions Fixed Version
mlflow
PyPI
< 2.8.0
2.8.0

References

Frequently Asked Questions

What is CVE-2023-6014?
CVE-2023-6014 is a security vulnerability in Mlflow involving MLflow authentication requirement bypass can allow a user to arbitrarily create an account under CWE-598: Use of HTTP Request With Sensitive Query String.
Which Mlflow versions are affected?
Affected versions include releases prior to 2.8.0 across affected packages: mlflow.
What version fixes CVE-2023-6014?
Upgrading to 2.8.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mlflow affected?
Yes, mlflow is affected in releases prior to 2.8.0. Upgrade your dependency to 2.8.0 or later.
What is the CVSS score of CVE-2023-6014?
CVE-2023-6014 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2023-6014?
CVE-2023-6014 is classified under CWE-598: Use of HTTP Request With Sensitive Query String (The web application uses an HTTP method to process a request, but the request includes sensitive information in the query string.).
How can I check PyPI dependencies for CVE-2023-6014?
Run the dependency tree command: 'pip show mlflow'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4qq5-mxxx-m6gg",
  "modified" : "2024-03-01T21:26:17Z",
  "published" : "2023-11-16T21:30:46Z",
  "aliases" : [ "CVE-2023-6014" ],
  "summary" : "MLflow authentication requirement bypass can allow a user to arbitrarily create an account",
  "details" : "An attacker is able to arbitrarily create an account in MLflow bypassing any authentication requirement.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "mlflow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.8.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-6014"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mlflow/mlflow/issues/9669"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mlflow/mlflow/pull/9700"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mlflow/mlflow/commit/32de2154ef9f946160e5dc01a4d8a449dd0bd259"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mlflow/mlflow"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mlflow/mlflow/releases/tag/v2.8.0"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.com/bounties/3e64df69-ddc2-463e-9809-d07c24dc1de4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-598" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-17T22:49:27Z",
    "nvd_published_at" : "2023-11-16T21:15:09Z"
  }
}