MEDIUM 6.5
PYSEC-2024-169
Details
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. This issue affects version 0.55.3 and was fixed in version 0.56.2. 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / zenml
Introduced in:
0 Fixed in: b95f083efffa56831cd41d8ed536aeb0b6038fa3 Fix
pip install --upgrade 'zenml>=b95f083efffa56831cd41d8ed536aeb0b6038fa3' References
- https://huntr.com/bounties/1cfc6493-082e-4229-9f2f-496801a6557c [EVIDENCE]
- https://github.com/zenml-io/zenml/commit/b95f083efffa56831cd41d8ed536aeb0b6038fa3 [FIX]
- https://huntr.com/bounties/1cfc6493-082e-4229-9f2f-496801a6557c [FIX]
- https://huntr.com/bounties/1cfc6493-082e-4229-9f2f-496801a6557c [REPORT]
- https://huntr.com/bounties/1cfc6493-082e-4229-9f2f-496801a6557c [WEB]
- https://github.com/advisories/GHSA-9x88-4jg8-4vf7 [ADVISORY]