The jQuery Validation Plugin provides drop-in validation for your existing forms. It is published as an npm package "jquery-validation". jquery-validation before version 1.19.3 contains one or more regular expressions that are vulnerable to ReDoS (Regular Expression Denial of Service). This is fixed in 1.19.3.
CVE-2021-21252 - High Severity Vulnerability
Vulnerable Libraries - jquery.validate-1.17.0.js, jquery.validate-1.17.0.min.js, microsoft.aspnetcore.identity.ui.5.0.0.nupkg
jquery.validate-1.17.0.js
Client-side form validation made easy
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.validate.js
Path to vulnerable library: /tests/DbLocalizationProvider.Core.AspNetSample/wwwroot/lib/jquery-validation/dist/jquery.validate.js
Dependency Hierarchy: - :x: **jquery.validate-1.17.0.js** (Vulnerable Library)
jquery.validate-1.17.0.min.js
Client-side form validation made easy
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.validate.min.js
Path to vulnerable library: /tests/DbLocalizationProvider.Core.AspNetSample/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js
Dependency Hierarchy: - :x: **jquery.validate-1.17.0.min.js** (Vulnerable Library)
microsoft.aspnetcore.identity.ui.5.0.0.nupkg
ASP.NET Core Identity UI is the default Razor Pages built-in UI for the ASP.NET Core Identity framew...
Library home page: https://api.nuget.org/packages/microsoft.aspnetcore.identity.ui.5.0.0.nupkg
Path to dependency file: /tests/DbLocalizationProvider.Core.AspNetSample/DbLocalizationProvider.Core.AspNetSample.csproj
Path to vulnerable library: /osoft.aspnetcore.identity.ui/5.0.0/microsoft.aspnetcore.identity.ui.5.0.0.nupkg
Dependency Hierarchy: - :x: **microsoft.aspnetcore.identity.ui.5.0.0.nupkg** (Vulnerable Library)
Found in HEAD commit: 6a4dae0d87e02bafb87b57e3a8e54309b1007b25
Found in base branch: master
Vulnerability Details
The jQuery Validation Plugin provides drop-in validation for your existing forms. It is published as an npm package "jquery-validation". jquery-validation before version 1.19.3 contains one or more regular expressions that are vulnerable to ReDoS (Regular Expression Denial of Service). This is fixed in 1.19.3.
Publish Date: 2021-01-13
URL: CVE-2021-21252
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-jxwx-85vp-gvwm
Release Date: 2021-01-13
Fix Resolution: jquery-validation - 1.19.3
Step up your Open Source Security Game with WhiteSource here