CVE-2024-2213: Zenml Improper Authentication Vulnerability

LOW
Advisory Identifier: GHSA-j527-v579-m98h
CVSS 3.3
CWE-287 CWE-620
Published
Advisory Summary

CVE-2024-2213 is a LOW (CVSS 3.3) improper authentication vulnerability (CWE-287: Improper Authentication) affecting Zenml libraries in the PyPI ecosystem. The issue involves improper authentication in zenml. Remediation is available by upgrading affected packages to version 0.56.3.

CVE-2024-2213 at a Glance

CVE Identifier CVE-2024-2213
GHSA Identifier GHSA-j527-v579-m98h
Severity LOW
CVSS v3.1 Base Score 3.3
CWE Classification CWE-287: Improper Authentication
Affected Product Zenml
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 3.3

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

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

How to Fix CVE-2024-2213

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

zenml fixed: 0.56.3
pip install zenml>=0.56.3
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 zenml

How to Check if You Are Affected

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

pip show zenml

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Zenml, 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 issue was discovered in zenml-io/zenml versions up to and including 0.55.4. Due to improper authentication mechanisms, an attacker with access to an active user session can change the account password without needing to know the current password. This vulnerability allows for unauthorized account takeover by bypassing the standard password change verification process. The issue was fixed in version 0.56.3.

CVE-2024-2213 Affected Zenml Versions

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

References

Frequently Asked Questions

What is CVE-2024-2213?
CVE-2024-2213 is a security vulnerability in Zenml involving Improper authentication in zenml under CWE-287: Improper Authentication.
Which Zenml versions are affected?
Affected versions include releases prior to 0.56.3 across affected packages: zenml.
What version fixes CVE-2024-2213?
Upgrading to 0.56.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is zenml affected?
Yes, zenml is affected in releases prior to 0.56.3. Upgrade your dependency to 0.56.3 or later.
What is the CVSS score of CVE-2024-2213?
CVE-2024-2213 has a CVSS v3.1 base score of 3.3 (LOW) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2024-2213?
CVE-2024-2213 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check PyPI dependencies for CVE-2024-2213?
Run the dependency tree command: 'pip show zenml'. 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-j527-v579-m98h",
  "modified" : "2025-10-15T15:49:28Z",
  "published" : "2024-06-06T21:30:36Z",
  "aliases" : [ "CVE-2024-2213" ],
  "summary" : "Improper authentication in zenml",
  "details" : "An issue was discovered in zenml-io/zenml versions up to and including 0.55.4. Due to improper authentication mechanisms, an attacker with access to an active user session can change the account password without needing to know the current password. This vulnerability allows for unauthorized account takeover by bypassing the standard password change verification process. The issue was fixed in version 0.56.3.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "zenml"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.56.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-2213"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zenml-io/zenml/commit/58cb3d987372c91eb605853c35325701733337c2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/zenml/PYSEC-2024-193.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zenml-io/zenml"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.com/bounties/8f5534ac-fd08-4b8b-8c2e-35949aa36e48"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287", "CWE-620" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-06-06T22:29:18Z",
    "nvd_published_at" : "2024-06-06T19:15:53Z"
  }
}