mmukul / DevOpsTrainingCourse

DevOps Training Program
1 stars 3 forks source link

jest-dom-5.16.2.tgz: 1 vulnerabilities (highest severity is: 7.5) - autoclosed #10

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - jest-dom-5.16.2.tgz

Path to dependency file: /devsecops_class/Demos/AWSGoat/modules/module-1/src/package.json

Path to vulnerable library: /devsecops_class/Demos/AWSGoat/modules/module-1/src/node_modules/decode-uri-component/package.json

Found in HEAD commit: 2347d85842bdf9673c5d1b5b40e6473ee4de1cbc

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jest-dom version) Remediation Available
CVE-2022-38900 High 7.5 decode-uri-component-0.2.0.tgz Transitive 5.16.3

Details

CVE-2022-38900 ### Vulnerable Library - decode-uri-component-0.2.0.tgz

A better decodeURIComponent

Library home page: https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz

Path to dependency file: /devsecops_class/Demos/AWSGoat/modules/module-1/src/package.json

Path to vulnerable library: /devsecops_class/Demos/AWSGoat/modules/module-1/src/node_modules/decode-uri-component/package.json

Dependency Hierarchy: - jest-dom-5.16.2.tgz (Root Library) - css-3.0.0.tgz - source-map-resolve-0.6.0.tgz - :x: **decode-uri-component-0.2.0.tgz** (Vulnerable Library)

Found in HEAD commit: 2347d85842bdf9673c5d1b5b40e6473ee4de1cbc

Found in base branch: main

### Vulnerability Details

decode-uri-component 0.2.0 is vulnerable to Improper Input Validation resulting in DoS.

Publish Date: 2022-11-28

URL: CVE-2022-38900

### 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-w573-4hg7-7wgq

Release Date: 2022-11-28

Fix Resolution (decode-uri-component): 0.2.1

Direct dependency fix Resolution (@testing-library/jest-dom): 5.16.3

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.