nvenkatesh1 / SCA_test_JS

Learn elm faster and in a fun way
MIT License
0 stars 0 forks source link

css-modules-require-hook-4.0.6.tgz: 2 vulnerabilities (highest severity is: 5.3) - autoclosed #71

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

mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - css-modules-require-hook-4.0.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/postcss-modules-values/node_modules/postcss/package.json,/node_modules/postcss-modules-scope/node_modules/postcss/package.json,/node_modules/postcss-modules-extract-imports/node_modules/postcss/package.json,/node_modules/postcss-modules-local-by-default/node_modules/postcss/package.json

Found in HEAD commit: 02ab963532e859d8d5e4219f1fafab1380d0a46a

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
CVE-2021-23382 Medium 5.3 postcss-6.0.6.tgz Transitive N/A
CVE-2017-16137 Medium 5.3 debug-2.6.8.tgz Transitive 4.1.0-beta

Details

CVE-2021-23382 ### Vulnerable Library - postcss-6.0.6.tgz

Tool for transforming styles with JS plugins

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/postcss-modules-values/node_modules/postcss/package.json,/node_modules/postcss-modules-scope/node_modules/postcss/package.json,/node_modules/postcss-modules-extract-imports/node_modules/postcss/package.json,/node_modules/postcss-modules-local-by-default/node_modules/postcss/package.json

Dependency Hierarchy: - css-modules-require-hook-4.0.6.tgz (Root Library) - postcss-modules-extract-imports-1.1.0.tgz - :x: **postcss-6.0.6.tgz** (Vulnerable Library)

Found in HEAD commit: 02ab963532e859d8d5e4219f1fafab1380d0a46a

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

CVE-2017-16137 ### Vulnerable Library - debug-2.6.8.tgz

small debugging utility

Library home page: https://registry.npmjs.org/debug/-/debug-2.6.8.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy: - css-modules-require-hook-4.0.6.tgz (Root Library) - :x: **debug-2.6.8.tgz** (Vulnerable Library)

Found in HEAD commit: 02ab963532e859d8d5e4219f1fafab1380d0a46a

Found in base branch: master

### Vulnerability Details

The debug module is vulnerable to regular expression denial of service when untrusted user input is passed into the o formatter. It takes around 50k characters to block for 2 seconds making this a low severity issue.

Publish Date: 2018-06-07

URL: CVE-2017-16137

### 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://nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-16137

Release Date: 2018-06-07

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (css-modules-require-hook): 4.1.0-beta

In order to enable automatic remediation, please create workflow rules


In order to enable automatic remediation for this issue, please create workflow rules

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

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

:information_source: This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory.

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

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

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

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

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.