CVE-2023-34109 Details
Description
zxcvbn-ts is an open source password strength estimator written in typescript. This vulnerability affects users running on the nodeJS platform which are using the second argument of the zxcvbn function. It can result in an unbounded resource consumption as the user inputs array is extended with every function call. Browsers are impacted, too but a single user need to do a lot of input changes so that it affects the browser, while the node process gets the inputs of every user of a platform and can be killed that way. This problem has been patched in version 3.0.2. Users are advised to upgrade. Users unable to upgrade should stop using the second argument of the zxcvbn function and use the zxcvbnOptions.setOptions function.
A vulnerability in zxcvbn-ts, an open-source password strength estimator written in TypeScript, allows for unbounded resource consumption in Node.js environments. This issue arises when the second argument of the zxcvbn function is used, leading to a memory leak as the user inputs array grows with each function call. While browsers can also be affected, the impact is more pronounced in Node.js, where the vulnerability can be exploited across all users of a platform, potentially crashing the process. The problem has been addressed in version 3.0.2. Users are advised to upgrade or, if unable to do so, to stop using the second argument of the zxcvbn function and instead use the zxcvbnOptions.setOptions function.
To address this vulnerability, users should upgrade to zxcvbn-ts version 3.0.2 or later. If an upgrade is not possible, users should discontinue the use of the second argument in the zxcvbn function and utilize the zxcvbnOptions.setOptions function instead.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 6, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| zxcvbn-ts project zxcvbn-ts | < 3.0.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jun 15, 2023 | Initial Analysis | [email protected] |