GitHub Advisory Database
GHSA-j9m2-h2pv-wvph
Regular expression denial of service in jquery-validation
Details
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the jquery-validation npm package, when an attacker is able to supply arbitrary input to the url2 method
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | jquery-validation | All versions before 1.19.4 (fixed in 1.19.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-43306
- https://github.com/jquery-validation/jquery-validation/pull/2428
- https://github.com/jquery-validation/jquery-validation/commit/69cb17ed774b427f7e2ffcdf197968231725c30e
- https://github.com/jquery-validation/jquery-validation
- https://research.jfrog.com/vulnerabilities/jquery-validation-redos-xray-211348