Incorrect Regular Expression in jquery-validation - CVE-2021-21252
Published: July 4, 2022
Vulnerability identifier: #VU64914
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-21252
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient input validation when processing regular expressions. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.
Affected software
jquery-validation
PowerCMS
Engineering Workflow Management
PowerCMS
Engineering Workflow Management
How to mitigate CVE-2021-21252
Install update from vendor's website.
jquery-validation - update to 1.19.3
PowerCMS - addressed in versions 4.59, 5.28, 6.61
Engineering Workflow Management - addressed in versions 7.0.1 iFix020, 7.0.2 iFix020
PowerCMS - addressed in versions 4.59, 5.28, 6.61
Engineering Workflow Management - addressed in versions 7.0.1 iFix020, 7.0.2 iFix020
External References
- https://github.com/jquery-validation/jquery-validation/commit/5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d
- https://github.com/jquery-validation/jquery-validation/pull/2371
- https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-jxwx-85vp-gvwm
- https://security.netapp.com/advisory/ntap-20210219-0005/
- https://www.npmjs.com/package/jquery-validation