Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

CVE-2021-33587 (High) detected in css-what-3.4.2.tgz, css-what-4.0.0.tgz #414

Open
mend-bolt-for-github bot opened this issue May 31, 2021 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented May 31, 2021

CVE-2021-33587 - High Severity Vulnerability

Vulnerable Libraries - css-what-3.4.2.tgz, css-what-4.0.0.tgz

css-what-3.4.2.tgz

a CSS selector parser

Library home page: https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz

Path to dependency file: web-ui/package.json

Path to vulnerable library: web-ui/node_modules/css-what/package.json

Dependency Hierarchy:

  • webpack-5.5.0.tgz (Root Library)
    • plugin-svgo-5.5.0.tgz
      • svgo-1.3.2.tgz
        • css-select-2.1.0.tgz
          • css-what-3.4.2.tgz (Vulnerable Library)
css-what-4.0.0.tgz

a CSS selector parser

Library home page: https://registry.npmjs.org/css-what/-/css-what-4.0.0.tgz

Path to dependency file: web-ui/package.json

Path to vulnerable library: web-ui/node_modules/css-what/package.json

Dependency Hierarchy:

  • optimize-css-assets-webpack-plugin-6.0.1.tgz (Root Library)
    • cssnano-5.0.2.tgz
      • cssnano-preset-default-5.0.1.tgz
        • postcss-svgo-5.0.0.tgz
          • svgo-2.3.0.tgz
            • css-select-3.1.2.tgz
              • css-what-4.0.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

The css-what package 4.0.0 through 5.0.0 for Node.js does not ensure that attribute parsing has Linear Time Complexity relative to the size of the input.

Publish Date: 2021-05-28

URL: CVE-2021-33587

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

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

Release Date: 2021-05-28

Fix Resolution: css-what - 5.0.1


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label May 31, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33587 (Medium) detected in css-what-3.4.2.tgz, css-what-4.0.0.tgz CVE-2021-33587 (High) detected in css-what-3.4.2.tgz, css-what-4.0.0.tgz Jun 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants