Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css-loader-5.2.7.tgz: 2 vulnerabilities (highest severity is: 5.3) unreachable #1430

Open
mend-for-github-com bot opened this issue Jun 2, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jun 2, 2022

Vulnerable Library - css-loader-5.2.7.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/css-loader/node_modules/postcss/package.json

Found in HEAD commit: 1e5781423c543a0c9bfedb4c5a57ca049920974b

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (css-loader version) Remediation Possible** Reachability
CVE-2023-44270 Medium 5.3 Not Defined 0.1% postcss-8.3.0.tgz Transitive 6.9.0

Unreachable

CVE-2021-23566 Medium 4.0 Proof of concept 0.1% nanoid-3.1.23.tgz Transitive 6.0.0

Unreachable

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2023-44270

Vulnerable Library - postcss-8.3.0.tgz

Tool for transforming styles with JS plugins

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/css-loader/node_modules/postcss/package.json

Dependency Hierarchy:

  • css-loader-5.2.7.tgz (Root Library)
    • postcss-8.3.0.tgz (Vulnerable Library)

Found in HEAD commit: 1e5781423c543a0c9bfedb4c5a57ca049920974b

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

An issue was discovered in PostCSS before 8.4.31. The vulnerability affects linters using PostCSS to parse external untrusted CSS. An attacker can prepare CSS in such a way that it will contains parts parsed by PostCSS as a CSS comment. After processing by PostCSS, it will be included in the PostCSS output in CSS nodes (rules, properties) despite being included in a comment.

Publish Date: 2023-09-29

URL: CVE-2023-44270

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-7fh5-64p2-3v2j

Release Date: 2023-09-29

Fix Resolution (postcss): 8.4.31

Direct dependency fix Resolution (css-loader): 6.9.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2021-23566

Vulnerable Library - nanoid-3.1.23.tgz

A tiny (108 bytes), secure URL-friendly unique string ID generator

Library home page: https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • css-loader-5.2.7.tgz (Root Library)
    • postcss-8.3.0.tgz
      • nanoid-3.1.23.tgz (Vulnerable Library)

Found in HEAD commit: 1e5781423c543a0c9bfedb4c5a57ca049920974b

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

The package nanoid from 3.0.0 and before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.

Publish Date: 2022-01-14

URL: CVE-2021-23566

Threat Assessment

Exploit Maturity: Proof of concept

EPSS: 0.1%

CVSS 3 Score Details (4.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2022-01-14

Fix Resolution (nanoid): 3.1.31

Direct dependency fix Resolution (css-loader): 6.0.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jun 2, 2022
@mend-for-github-com mend-for-github-com bot changed the title css-loader-5.2.7.tgz: 1 vulnerabilities (highest severity is: 5.5) css-loader-5.2.7.tgz: 2 vulnerabilities (highest severity is: 5.5) Oct 13, 2022
@mend-for-github-com mend-for-github-com bot changed the title css-loader-5.2.7.tgz: 2 vulnerabilities (highest severity is: 5.5) css-loader-5.2.7.tgz: 2 vulnerabilities (highest severity is: 7.5) Oct 15, 2022
@mend-for-github-com mend-for-github-com bot changed the title css-loader-5.2.7.tgz: 2 vulnerabilities (highest severity is: 7.5) css-loader-5.2.7.tgz: 3 vulnerabilities (highest severity is: 7.5) Oct 17, 2022
@mend-for-github-com mend-for-github-com bot changed the title css-loader-5.2.7.tgz: 3 vulnerabilities (highest severity is: 7.5) css-loader-5.2.7.tgz: 4 vulnerabilities (highest severity is: 9.8) Apr 13, 2023
@mend-for-github-com mend-for-github-com bot changed the title css-loader-5.2.7.tgz: 4 vulnerabilities (highest severity is: 9.8) css-loader-5.2.7.tgz: 6 vulnerabilities (highest severity is: 9.8) Apr 29, 2024
@mend-for-github-com mend-for-github-com bot changed the title css-loader-5.2.7.tgz: 6 vulnerabilities (highest severity is: 9.8) css-loader-5.2.7.tgz: 2 vulnerabilities (highest severity is: 5.3) unreachable Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants