Quick answers
- Is CVE-2024-5062 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2024-5062 being exploited in the wild.
- How severe is CVE-2024-5062?
- Low severity, with a CVSS score of 3.1, published 30 June 2024.
- Which products and versions are affected?
- zenml (PyPI) GIT:introduced=0,fixed=21edd863c0ba53c1110b6f018a07c2d6853cf6d4,fixed=21edd863c0ba53c1110b6f018a07c2d6853cf6d4|ECOSYSTEM:introduced=0,fixed=0.58.0; ZenML 0.57.1.
- Is there a fix for CVE-2024-5062?
- Yes. zenml (PyPI): upgrade to 0.58.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2024-5062 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2024-5062?
- Check whether you run zenml (PyPI) or ZenML at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- zenml (PyPI): upgrade to 0.58.0 or later
pip install "zenml>=0.58.0"
Technical details
A reflected XSS vulnerability exists in ZenML version 0.57.1 due to improper validation of the 'redirect' parameter in the survey functionality (CWE-79). The vulnerability allows an attacker to craft a malicious URL with unvalidated redirect parameter that, when clicked by a user, executes arbitrary JavaScript in the victim's browser context. The attack vector is network-based and requires user interaction (clicking a malicious link). An attacker can steal cookies, session tokens, or other sensitive data, potentially leading to account takeover. The vulnerability was fixed in version 0.58.0.
Affected products
- ZenML ZenML 0.57.1
Identifiers
- CVE-2024-5062
- GHSA-3434-hc3m-8mmm
- PYSEC-2024-176
Timeline
- 2024-06-30: disclosed
- 2024-05-27: patched: Version 0.58.0 released