PyPI: zenml
CVE-2024-2035
Safety vulnerability ID: SFTY-20240606-69036
Safety legacy ID: pyup.io-71950
An improper authorization vulnerability exists in the zenml-io/zenml repository, specifically within the API PUT /api/v1/users/id endpoint. This vulnerability allows any authenticated user to modify the information of other users, including changing the active status of user accounts to false, effectively deactivating them. The impact of this vulnerability is significant as it allows for the deactivation of admin accounts, potentially disrupting the functionality and security of the application.
Overview
Improper authorization in zenml
Advisory
An improper authorization vulnerability exists in the zenml-io/zenml repository, specifically within the API PUT /api/v1/users/id endpoint. This vulnerability allows any authenticated user to modify the information of other users, including changing the active status of user accounts to false, effectively deactivating them. The impact of this vulnerability is significant as it allows for the deactivation of admin accounts, potentially disrupting the functionality and security of the application.
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20240606-69036/CVE-2024-2035
- https://nvd.nist.gov/vuln/detail/CVE-2024-2035
- https://github.com/zenml-io/zenml/commit/b95f083efffa56831cd41d8ed536aeb0b6038fa3
- https://huntr.com/bounties/1cfc6493-082e-4229-9f2f-496801a6557c
- https://github.com/pypa/advisory-database/tree/main/vulns/zenml/PYSEC-2024-169.yaml
- https://github.com/advisories/GHSA-9x88-4jg8-4vf7
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
