themes-0.0.101.tgz: 1 vulnerabilities (highest severity is: 7.5)
mend-bolt-for-github opened this issue · 0 comments
Vulnerable Library - themes-0.0.101.tgz
Path to dependency file: /ui/next/package.json
Path to vulnerable library: /ui/next/node_modules/postcss-atroot/node_modules/postcss/package.json
Found in HEAD commit: 86356efedf686f83325476ef53ddb89e7b6329f2
Vulnerabilities
CVE | Severity | CVSS | Dependency | Type | Fixed in (themes version) | Remediation Available |
---|---|---|---|---|---|---|
CVE-2021-23382 | High | 7.5 | detected in multiple dependencies | Transitive | N/A* | ❌ |
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the section "Details" below to see if there is a version of transitive dependency where vulnerability is fixed.
Details
CVE-2021-23382
Vulnerable Libraries - postcss-6.0.23.tgz, postcss-5.2.18.tgz
postcss-6.0.23.tgz
Tool for transforming styles with JS plugins
Library home page: https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz
Path to dependency file: /ui/next/package.json
Path to vulnerable library: /ui/next/node_modules/postcss-extend-rule/node_modules/postcss/package.json,/ui/next/node_modules/postcss-property-lookup/node_modules/postcss/package.json
Dependency Hierarchy:
- themes-0.0.101.tgz (Root Library)
- precss-4.0.0.tgz
- postcss-extend-rule-2.0.0.tgz
- ❌ postcss-6.0.23.tgz (Vulnerable Library)
- postcss-extend-rule-2.0.0.tgz
- precss-4.0.0.tgz
postcss-5.2.18.tgz
Tool for transforming styles with JS plugins
Library home page: https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz
Path to dependency file: /ui/next/package.json
Path to vulnerable library: /ui/next/node_modules/postcss-atroot/node_modules/postcss/package.json
Dependency Hierarchy:
- themes-0.0.101.tgz (Root Library)
- precss-4.0.0.tgz
- postcss-atroot-0.1.3.tgz
- ❌ postcss-5.2.18.tgz (Vulnerable Library)
- postcss-atroot-0.1.3.tgz
- precss-4.0.0.tgz
Found in HEAD commit: 86356efedf686f83325476ef53ddb89e7b6329f2
Found in base branch: main
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 (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
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 Mend here