GitHub Advisory Database
GHSA-vvf2-ppj9-pp49
Inefficient Regular Expression Complexity in vuelidate
Details
vuelidate is a simple, lightweight model-based validation for Vue.js 2.x & 3.0. A ReDoS (regular expression denial of service) flaw was found in the @vuelidate/validators package. An attacker that is able to provide crafted input to the url(input) function may cause an application to consume an excessive amount of CPU.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @vuelidate/validators | All versions before 2.0.0-alpha.22 (fixed in 2.0.0-alpha.22) |