Advisory

GHSA-vvf2-ppj9-pp49

Also known as: CVE-2021-3794

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-20 20:42 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

@vuelidate/validators

npm · All systems

Affected

  • introduced 0, fixed 2.0.0-alpha.22 (semver)

Fixed versions

2.0.0-alpha.22

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences