Closed mend-bolt-for-github[bot] closed 2 years ago
:information_source: This issue was automatically closed by WhiteSource because it is a duplicate of an existing issue: #2026
:information_source: This issue was automatically closed by WhiteSource because it is a duplicate of an existing issue: #2026
This issue is potentially a duplicate of one of the following issues:
(log)
👋 Thanks for reporting!
Thank you for your report, the issue you have reported has just been fixed.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://github.com/AlexRogalskiy/typescript-tools/blob/master/.github/ISSUE_TEMPLATE/bug_report.md), and link to this old issue if necessary.
CVE-2021-23382 - Medium Severity Vulnerability
Vulnerable Libraries - postcss-7.0.17.tgz, postcss-6.0.1.tgz
postcss-7.0.17.tgz
Tool for transforming styles with JS plugins
Library home page: https://registry.npmjs.org/postcss/-/postcss-7.0.17.tgz
Path to dependency file: typescript-tools/package.json
Path to vulnerable library: typescript-tools/node_modules/@reshadow/postcss/node_modules/postcss/package.json
Dependency Hierarchy: - reshadow-0.0.1-alpha.80.tgz (Root Library) - postcss-0.0.1-alpha.80.tgz - :x: **postcss-7.0.17.tgz** (Vulnerable Library)
postcss-6.0.1.tgz
Tool for transforming styles with JS plugins
Library home page: https://registry.npmjs.org/postcss/-/postcss-6.0.1.tgz
Path to dependency file: typescript-tools/package.json
Path to vulnerable library: typescript-tools/node_modules/css-modules-loader-core/node_modules/postcss/package.json
Dependency Hierarchy: - reshadow-0.0.1-alpha.80.tgz (Root Library) - babel-0.0.1-alpha.80.tgz - css-modules-loader-core-1.1.0.tgz - :x: **postcss-6.0.1.tgz** (Vulnerable Library)
Found in HEAD commit: 94a055e45bd6419b98a3f6c030632bac663aa978
Vulnerability Details
The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/\*\s* sourceMappingURL=(.*).
Publish Date: 2021-04-26
URL: CVE-2021-23382
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-2021-23382
Release Date: 2021-04-26
Fix Resolution: postcss - 8.2.13
Step up your Open Source Security Game with WhiteSource here