CVE-2024-4311
JSON

5.4medium

Lack of login attempt rate-limiting in zenml-io/zenml

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.51% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai
Also known as
GHSA-j3vq-pmp5-r5xjPYSEC-2026-2070

Description

zenml-io/zenml version 0.56.4 is vulnerable to an account takeover due to the lack of rate-limiting in the password change function. An attacker can brute-force the current password in the 'Update Password' function, allowing them to take over the user's account. This vulnerability is due to the absence of rate-limiting on the '/api/v1/current-user' endpoint, which does not restrict the number of attempts an attacker can make to guess the current password. Successful exploitation results in the attacker being able to change the password and take control of the account.

Affected

Product or packageVersionsReported by
zenml-io zenml-io/zenmlfrom unspecified before 0.57.0CVE List
zenmlio zenmlbefore 0.57.0CVE List
zenml (PyPI)before 0.57.0rc2GitHub Advisory Database, PyPA Advisory Database
zenml zenml0.56.4NVD

All scores

@huntr_ai5.4medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:H
CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:H
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:H
PyPA Advisory Database5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

zenml-io/zenml version 0.56.4 is vulnerable to an account takeover due to the lack of rate-limiting in the password change function. An attacker can brute-force the current password in the 'Update Password' function, allowing them to take over the user's account. This vulnerability is due to the absence of rate-limiting on the '/api/v1/current-user' endpoint, which does not restrict the number of attempts an attacker can make to guess the current password. Successful exploitation results in the attacker being able to change the password and take control of the account.

NVD (es)

La versión 0.56.4 de zenml-io/zenml es vulnerable a la apropiación de cuentas debido a la falta de limitación de velocidad en la función de cambio de contraseña. Un atacante puede forzar la contraseña actual en la función "Actualizar contraseña", lo que le permite apropiarse de la cuenta del usuario. Esta vulnerabilidad se debe a la ausencia de limitación de velocidad en el endpoint "/api/v1/current-user", que no restringe la cantidad de intentos que puede hacer un atacante para adivinar la contraseña actual. Si se explota con éxito, el atacante puede cambiar la contraseña y tomar el control de la cuenta.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-4311 changed 2024-11-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-j3vq-pmp5-r5xj changed 2026-07-07CC-BY-4.0
NVDCVE-2024-4311 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-2070 changed 2026-07-07CC-BY-4.0