luniehq / lunie

Lunie is staking, simplified ✨
https://lunie.io
Apache License 2.0
279 stars 98 forks source link

CVE-2021-23382 (Medium) detected in multiple libraries #5700

Closed mend-for-github-com[bot] closed 3 years ago

mend-for-github-com[bot] commented 3 years ago

CVE-2021-23382 - Medium Severity Vulnerability

Vulnerable Libraries - postcss-7.0.17.tgz, postcss-8.2.5.tgz, postcss-7.0.21.tgz, postcss-7.0.35.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: /tmp/ws-scm/cosmos-ui/package.json

Path to vulnerable library: /tmp/ws-scm/cosmos-ui/node_modules/postcss

Dependency Hierarchy: - webpacker-4.3.0.tgz (Root Library) - css-loader-3.6.0.tgz - postcss-modules-extract-imports-2.0.0.tgz - :x: **postcss-7.0.17.tgz** (Vulnerable Library)

postcss-8.2.5.tgz

Tool for transforming styles with JS plugins

Library home page: https://registry.npmjs.org/postcss/-/postcss-8.2.5.tgz

Path to dependency file: /tmp/ws-scm/cosmos-ui/package.json

Path to vulnerable library: /cosmos-ui/node_modules/postcss

Dependency Hierarchy: - :x: **postcss-8.2.5.tgz** (Vulnerable Library)

postcss-7.0.21.tgz

Tool for transforming styles with JS plugins

Library home page: https://registry.npmjs.org/postcss/-/postcss-7.0.21.tgz

Path to dependency file: /tmp/ws-scm/cosmos-ui/package.json

Path to vulnerable library: /tmp/ws-scm/cosmos-ui/node_modules/postcss

Dependency Hierarchy: - resolve-url-loader-3.1.2.tgz (Root Library) - :x: **postcss-7.0.21.tgz** (Vulnerable Library)

postcss-7.0.35.tgz

Tool for transforming styles with JS plugins

Library home page: https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz

Path to dependency file: /tmp/ws-scm/cosmos-ui/package.json

Path to vulnerable library: /tmp/ws-scm/cosmos-ui/node_modules/postcss

Dependency Hierarchy: - webpacker-4.3.0.tgz (Root Library) - css-loader-3.6.0.tgz - :x: **postcss-7.0.35.tgz** (Vulnerable Library)

Found in base branch: develop

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

stale[bot] commented 3 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.