prafullkotecha / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/en-us/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
1 stars 0 forks source link

CVE-2022-31147 (High) detected in jquery.validate-1.9.0.min.js #199

Open mend-bolt-for-github[bot] opened 7 months ago

mend-bolt-for-github[bot] commented 7 months ago

CVE-2022-31147 - High Severity Vulnerability

Vulnerable Library - jquery.validate-1.9.0.min.js

Client-side form validation made easy

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.9.0/jquery.validate.min.js

Path to dependency file: /sdk/resourcemanager/azure-resourcemanager-samples/src/main/resources/coffeeshop/webapps/coffeeshop/placeorder.jsp

Path to vulnerable library: /sdk/resourcemanager/azure-resourcemanager-samples/src/main/resources/coffeeshop/webapps/coffeeshop/Scripts/jquery.validate.min.js,/sdk/resourcemanager/azure-resourcemanager-samples/src/main/resources/coffeeshop/webapps/coffeeshop/Scripts/jquery.validate.min.js

Dependency Hierarchy: - :x: **jquery.validate-1.9.0.min.js** (Vulnerable Library)

Found in HEAD commit: d00274c5406c57214dbd8d18882a072c71e83d85

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


Step up your Open Source Security Game with Mend here