GitHub Advisory Database
GHSA-ffmh-x56j-9rc3
jquery-validation Regular Expression Denial of Service due to arbitrary input to url2 method
Details
Summary
Incomplete fix of CVE-2021-43306: 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.5 (fixed in 1.19.5) |
References
- https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3
- https://nvd.nist.gov/vuln/detail/CVE-2022-31147
- https://github.com/jquery-validation/jquery-validation/commit/5bbd80d27fc6b607d2f7f106c89522051a9fb0dd
- https://github.com/jquery-validation/jquery-validation
- https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.5