Skip to content

CVE-2023-34109 User input results in Unbounded resource consumption in @zxcvbn-ts/core

HighCVSS 7.5 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
zxcvbn-ts project zxcvbn-ts < 3.0.2 3.0.2 Fixed
zxcvbn-ts zxcvbn = < 3.0.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
zxcvbn-ts zxcvbn = < 3.0.2 No fix listed
zxcvbn-ts project zxcvbn-ts < 3.0.2 3.0.2

References