CVE-2024-2383: Zenml Clickjacking Vulnerability
MODERATECVE-2024-2383 is a MODERATE (CVSS 4.3) clickjacking vulnerability (CWE-1021: Improper Restriction of Rendered UI Layers or Frames) affecting Zenml libraries in the PyPI ecosystem. The issue involves clickjacking in zenml. Remediation is available by upgrading affected packages to version 0.56.3.
CVE-2024-2383 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).
How to Fix CVE-2024-2383
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.
pip install zenml>=0.56.3
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-2383, 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-1021: Improper Restriction of Rendered UI Layers or Frames, where the web application does not restrict or incorrectly restricts frame objects or ui layers that belong to another application or domain. 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
CVE-2024-2383 Affected Zenml Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
zenml
|
PyPI |
< 0.56.3
|
0.56.3
|
References
Frequently Asked Questions
What is CVE-2024-2383?
Which Zenml versions are affected?
What version fixes CVE-2024-2383?
Is zenml affected?
What is the CVSS score of CVE-2024-2383?
What CWE is associated with CVE-2024-2383?
How can I check PyPI dependencies for CVE-2024-2383?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mq73-g4qr-fgcq",
"modified" : "2025-01-21T17:58:02Z",
"published" : "2024-06-06T21:30:36Z",
"aliases" : [ "CVE-2024-2383" ],
"summary" : "Clickjacking in zenml",
"details" : "A clickjacking vulnerability exists in zenml-io/zenml versions up to and including 0.55.5 due to the application's failure to set appropriate X-Frame-Options or Content-Security-Policy HTTP headers. This vulnerability allows an attacker to embed the application UI within an iframe on a malicious page, potentially leading to unauthorized actions by tricking users into interacting with the interface under the attacker's control. The issue was addressed in version 0.56.3.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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-2383"
}, {
"type" : "WEB",
"url" : "https://github.com/zenml-io/zenml/commit/f863fde1269bc355951f8cfc826c0244d88ad5e9"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/zenml/PYSEC-2024-194.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zenml-io/zenml"
}, {
"type" : "WEB",
"url" : "https://huntr.com/bounties/22d26f5a-c0ae-4344-aa7d-08ff5ada3963"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1021" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-06T22:30:10Z",
"nvd_published_at" : "2024-06-06T19:15:54Z"
}
}