{"id":"CVE-2024-4311","published":"2024-11-14T17:35:53Z","modified":"2024-11-18T15:40:16Z","title":"Lack of login attempt rate-limiting in zenml-io/zenml","vendor":"zenml-io","product":"zenml-io/zenml","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00508,"percentile":0.4431,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://huntr.com/bounties/d5517e1a-6b94-4e38-aad6-3aa65f98bec2","tags":[]},{"url":"https://github.com/zenml-io/zenml/commit/87a6c2c8f45b49ea83fbb5fe8fff7ab5365a60c9","tags":[]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":8.86},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"zenml-io","affectedVersions":[{"vendor":"zenml-io","product":"zenml-io/zenml","versions":[">= unspecified, < 0.57.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-18T15:37:57.587318Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"zenml","vulnerableRanges":["<0.57.0rc2"],"patched":["0.57.0rc2"],"from":["GHSA-j3vq-pmp5-r5xj","PYSEC-2026-2070"],"provenance":"source"}],"summary":{"text":"The flaw is a lack of rate-limiting on the password change function in zenml-io/zenml, affecting the /api/v1/current-user endpoint, which places no limit on how many attempts can be made to guess the current password. An attacker with network access and low-privilege authentication who can get a user to interact with the process could brute-force the current password through the Update Password function and then set a new one, taking over the account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:54Z"},"euvd":{"id":"EUVD-2024-3270","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-zenml-io-zenml-cve-2024-2032","parents":[{"from":"CVE-2024-2035","to":"CVE-2024-4311","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/zenml/zen_server/routers/users_endpoints.py"],"commits":["https://github.com/zenml-io/zenml/commit/b95f083efffa56831cd41d8ed536aeb0b6038fa3","https://github.com/zenml-io/zenml/commit/87a6c2c8f45b49ea83fbb5fe8fff7ab5365a60c9"],"basis":"shared function","functions":["get_user","update_myself","update_user"]}]},{"from":"CVE-2024-2213","to":"CVE-2024-4311","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/zenml/zen_server/routers/users_endpoints.py"],"commits":["https://github.com/zenml-io/zenml/commit/58cb3d987372c91eb605853c35325701733337c2","https://github.com/zenml-io/zenml/commit/87a6c2c8f45b49ea83fbb5fe8fff7ab5365a60c9"],"basis":"shared function","functions":["update_myself","update_user"]}]}]}}