zettatips / ex10-website

ex10 Volleyball Club website
https://ex10.vercel.app/
MIT License
0 stars 0 forks source link

CVE-2022-25858 (Medium) detected in terser-4.8.0.tgz, terser-5.1.0.tgz #33

Open mend-bolt-for-github[bot] opened 2 years ago

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

CVE-2022-25858 - Medium Severity Vulnerability

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

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/rollup-plugin-terser/node_modules/terser/package.json,/node_modules/terser-webpack-plugin/node_modules/terser/package.json

Dependency Hierarchy: - next-pwa-3.1.5.tgz (Root Library) - workbox-webpack-plugin-5.1.4.tgz - workbox-build-5.1.4.tgz - rollup-plugin-terser-5.3.1.tgz - :x: **terser-4.8.0.tgz** (Vulnerable Library)

terser-5.1.0.tgz

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

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

Path to dependency file: /package.json

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

Dependency Hierarchy: - next-10.0.3.tgz (Root Library) - toolbox-optimizer-2.7.0-alpha.1.tgz - :x: **terser-5.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: ccd1fa96ac3b5406cb8231dc95b0496a05a23586

Found in base branch: master

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 (5.3)

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: Low

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

Direct dependency fix Resolution (next-pwa): 5.0.0

Fix Resolution (terser): 4.8.1

Direct dependency fix Resolution (next): 10.0.4-canary.1


Step up your Open Source Security Game with Mend here