grunt-autoprefixer-3.0.4.tgz: 3 vulnerabilities (highest severity is: 7.5)
mend-for-github-com opened this issue · 0 comments
Vulnerable Library - grunt-autoprefixer-3.0.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/diff/package.json
Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907
Vulnerabilities
CVE | Severity | CVSS | Dependency | Type | Fixed in (grunt-autoprefixer version) | Remediation Available |
---|---|---|---|---|---|---|
CVE-2021-23382 | High | 7.5 | postcss-4.1.16.tgz | Transitive | N/A* | |
WS-2018-0590 | High | 7.1 | diff-1.3.2.tgz | Transitive | N/A* |
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
Details
CVE-2021-23382
Vulnerable Library - postcss-4.1.16.tgz
Tool for transforming CSS with JS plugins
Library home page: https://registry.npmjs.org/postcss/-/postcss-4.1.16.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/postcss/package.json
Dependency Hierarchy:
- grunt-autoprefixer-3.0.4.tgz (Root Library)
❌ postcss-4.1.16.tgz (Vulnerable Library)
Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907
Found in base branch: master
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
WS-2018-0590
Vulnerable Library - diff-1.3.2.tgz
A javascript text diff implementation.
Library home page: https://registry.npmjs.org/diff/-/diff-1.3.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/diff/package.json
Dependency Hierarchy:
- grunt-autoprefixer-3.0.4.tgz (Root Library)
❌ diff-1.3.2.tgz (Vulnerable Library)
Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907
Found in base branch: master
Vulnerability Details
A vulnerability was found in diff before v3.5.0, the affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.
Publish Date: 2018-03-05
URL: WS-2018-0590
CVSS 3 Score Details (7.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: Low
Suggested Fix
Type: Upgrade version
Release Date: 2018-03-05
Fix Resolution: 3.5.0