PyPI: zenml
CVE-2024-4311
Safety vulnerability ID: SFTY-20241114-48907
Safety legacy ID: pyup.io-74260
Affected versions of zenml-io/zenml before are vulnerable to Open Redirection (CWE-601). This vulnerability allows attackers to redirect users to malicious sites by manipulating the next parameter in the login functionality. The impact includes phishing attacks and unauthorized access to sensitive resources. The attack vector involves crafting requests with malicious next parameters to the /api/v1/current-user endpoint. Vulnerable functions include login in app_blueprint.py and get_redirect_url in helpers.py. To mitigate, upgrade to zenml-io/zenml the version which implements proper validation and handling of redirect URLs, preventing unauthorized redirections.
Overview
Missing ratelimit on passwrod resets in zenml
Advisory
Affected versions of zenml-io/zenml before are vulnerable to Open Redirection (CWE-601). This vulnerability allows attackers to redirect users to malicious sites by manipulating the next parameter in the login functionality. The impact includes phishing attacks and unauthorized access to sensitive resources. The attack vector involves crafting requests with malicious next parameters to the /api/v1/current-user endpoint. Vulnerable functions include login in app_blueprint.py and get_redirect_url in helpers.py. To mitigate, upgrade to zenml-io/zenml the version which implements proper validation and handling of redirect URLs, preventing unauthorized redirections.
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20241114-48907/CVE-2024-4311
- https://nvd.nist.gov/vuln/detail/CVE-2024-4311
- https://github.com/zenml-io/zenml/commit/87a6c2c8f45b49ea83fbb5fe8fff7ab5365a60c9
- https://huntr.com/bounties/d5517e1a-6b94-4e38-aad6-3aa65f98bec2
- https://github.com/advisories/GHSA-j3vq-pmp5-r5xj
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
