CVE-2022-31147
Description
The jQuery Validation Plugin (jquery-validation) provides drop-in validation for forms. Versions of jquery-validation prior to 1.19.5 are vulnerable to regular expression denial of service (ReDoS) when an attacker is able to supply arbitrary input to the url2 method. This is due to an incomplete fix for CVE-2021-43306. Users should upgrade to version 1.19.5 to receive a patch.
CWE
- CWE-1333 — CWE-1333: Inefficient Regular Expression Complexity
Affected
- jquery-validation / jquery-validation — v=< 1.19.5 [affected]
CVSS
- 3.1 score=7.5 severity=HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3 x_refsource_CONFIRM
- https://github.com/jquery-validation/jquery-validation/commit/5bbd80d27fc6b607d2f7f106c89522051a9fb0dd x_refsource_MISC
- https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.5 x_refsource_MISC
Source
cvelistV5-main/cves/2022/31xxx/CVE-2022-31147.json