GitHub Advisoryadvisory · npm
GHSA-ffmh-x56j-9rc3 jquery-validation Regular Expression Denial of Service due to arbitrary input to url2 method
HIGH
Official page ↗
- Aliases
- CVE-2022-31147
- Ecosystem
- npm
- Packages
- jquery-validation
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2022-07-05
Affected packages
• npm jquery-validation: < 1.19.5 → fixed in 1.19.5
Description
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.
Related
Alias · CVE (1)
- CVE-2022-31147 The jQuery Validation Plugin (jquery-validation) provides drop-in validation for forms. vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3 web
- https://nvd.nist.gov/vuln/detail/CVE-2022-31147 advisory
- https://github.com/jquery-validation/jquery-validation/commit/5bbd80d27fc6b607d2f7f106c89522051a9fb0dd web
- https://github.com/jquery-validation/jquery-validation package
- https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.5 web