Path to vulnerable library: /samples/Clients/src/MvcAutomaticTokenManagement/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Quickstarts/5_EntityFramework/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Clients/src/MvcCode/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.js
Path to vulnerable library: /samples/Clients/src/MvcAutomaticTokenManagement/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Quickstarts/5_EntityFramework/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Clients/src/MvcCode/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js
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.
CVE-2022-31147 - High Severity Vulnerability
Vulnerable Libraries - jquery.validate-1.17.0.js, jquery.validate-1.17.0.min.js
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: /samples/Clients/src/MvcAutomaticTokenManagement/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Quickstarts/5_EntityFramework/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Clients/src/MvcCode/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.js,/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/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: /samples/Clients/src/MvcAutomaticTokenManagement/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Quickstarts/5_EntityFramework/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Clients/src/MvcCode/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js,/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js
Dependency Hierarchy: - :x: **jquery.validate-1.17.0.min.js** (Vulnerable Library)
Found in HEAD commit: 7d47835acfa4a3e45eb8050d9af2dbb2c6ad1df4
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2022-07-14
URL: CVE-2022-31147
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/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3
Release Date: 2022-07-14
Fix Resolution: jquery-validation - 1.19.5