SebastianDarie / Twitter-Clone

The Odin Project
https://twitter-clone-c0b2e.web.app/
1 stars 0 forks source link

CVE-2022-25858 (High) detected in terser-5.5.1.tgz, terser-4.8.0.tgz - autoclosed #60

Closed mend-bolt-for-github[bot] closed 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2022-25858 - High Severity Vulnerability

Vulnerable Libraries - terser-5.5.1.tgz, terser-4.8.0.tgz

terser-5.5.1.tgz

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

Library home page: https://registry.npmjs.org/terser/-/terser-5.5.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/terser-webpack-plugin/node_modules/terser/package.json

Dependency Hierarchy: - react-scripts-4.0.1.tgz (Root Library) - terser-webpack-plugin-4.2.3.tgz - :x: **terser-5.5.1.tgz** (Vulnerable Library)

terser-4.8.0.tgz

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

Library home page: https://registry.npmjs.org/terser/-/terser-4.8.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/terser/package.json

Dependency Hierarchy: - react-scripts-4.0.1.tgz (Root Library) - webpack-4.44.2.tgz - terser-webpack-plugin-1.4.5.tgz - :x: **terser-4.8.0.tgz** (Vulnerable Library)

Found in HEAD commit: d5f6f353b682174adbb2d641341ae2b40c2f66c9

Found in base branch: main

Vulnerability Details

The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.

Publish Date: 2022-07-15

URL: CVE-2022-25858

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25858

Release Date: 2022-07-15

Fix Resolution: terser - 4.8.1,5.14.2


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 2 years 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.