lukebrogan-mend / NuGetGallery

NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
Other
0 stars 0 forks source link

jquery.validate-1.16.0.js: 2 vulnerabilities (highest severity is: 8.7) #69

Open mend-for-github-com[bot] opened 12 months ago

mend-for-github-com[bot] commented 12 months ago
Vulnerable Library - jquery.validate-1.16.0.js

Client-side form validation made easy

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

Path to vulnerable library: /Scripts/gallery/jquery.validate-1.16.0.js

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (jquery.validate version) Remediation Possible** Reachability
CVE-2022-31147 High 8.7 Not Defined 0.1% jquery.validate-1.16.0.js Direct jquery-validation - 1.19.5
CVE-2021-21252 Medium 6.9 Not Defined 0.4% jquery.validate-1.16.0.js Direct jquery-validation - 1.19.3

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-31147 ### Vulnerable Library - jquery.validate-1.16.0.js

Client-side form validation made easy

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

Path to vulnerable library: /Scripts/gallery/jquery.validate-1.16.0.js

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

Found in base branch: main

### 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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (8.7)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: N/A - Impact Metrics: - Confidentiality Impact: N/A - Integrity Impact: N/A - Availability Impact: N/A

For more information on CVSS4 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

CVE-2021-21252 ### Vulnerable Library - jquery.validate-1.16.0.js

Client-side form validation made easy

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

Path to vulnerable library: /Scripts/gallery/jquery.validate-1.16.0.js

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

Found in base branch: main

### 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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.4%

### CVSS 4 Score Details (6.9)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: N/A - Impact Metrics: - Confidentiality Impact: N/A - Integrity Impact: N/A - Availability Impact: N/A

For more information on CVSS4 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