{"id":"CVE-2024-0436","published":"2024-02-25T16:25:11Z","modified":"2025-03-27T10:44:21Z","title":"Prevent timing attack for single-user password check","vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","tier":"tail","description":{"text":"Theoretically, it would be possible for an attacker to brute-force the password for an instance in single-user password protection mode via a timing attack given the linear nature of the `!==` used for comparison.\n\nThe risk is minified by the additional overhead of the request, which varies in a non-constant nature making the attack less reliable to execute","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0048,"percentile":0.42331,"provenance":"source"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"references":[{"url":"https://huntr.com/bounties/3e73cb96-c038-46a1-81b7-4d2215b36268","tags":[]},{"url":"https://github.com/mintplex-labs/anything-llm/commit/3c859ba3038121b67fb98e87dc52617fa27cbef0","tags":[]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.47},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"mintplex-labs","affectedVersions":[{"vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","versions":[">= unspecified, < 1.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-26T18:32:34.195074Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-16231","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mintplex-labs-anything-llm-cve-2023-4898","children":[{"from":"CVE-2024-0436","to":"CVE-2024-3166","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frontend/src/components/Modals/Password/index.jsx","frontend/src/pages/Login/index.jsx","server/utils/middleware/validatedRequest.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/3c859ba3038121b67fb98e87dc52617fa27cbef0","https://github.com/mintplex-labs/anything-llm/commit/fa27103d032c58904c49b92ee13fabc19a20a5ce"],"basis":"shared function","functions":["PasswordModal","validatedRequest"]}]},{"from":"CVE-2024-0436","to":"CVE-2024-3569","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frontend/src/components/Modals/Password/index.jsx","frontend/src/pages/Login/index.jsx","server/utils/middleware/validatedRequest.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/3c859ba3038121b67fb98e87dc52617fa27cbef0","https://github.com/mintplex-labs/anything-llm/commit/efe9dfa5e3550d12abd34d06ab7f8fbcf2206cfa"],"basis":"shared function","functions":["PasswordModal","validatedRequest"]}]},{"from":"CVE-2024-0436","to":"CVE-2024-7783","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/utils/middleware/validatedRequest.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/3c859ba3038121b67fb98e87dc52617fa27cbef0","https://github.com/mintplex-labs/anything-llm/commit/4430ddb05988470bc8f0479e7d07db1f7d4646ba"],"basis":"shared function","functions":["validatedRequest"]}]}]}}