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

CVE-2021-33587 (High) detected in multiple libraries - autoclosed #166

Closed
mend-bolt-for-github bot opened this issue Jul 4, 2021 · 1 comment · Fixed by #187, #190, #180, #195 or #198
Closed

CVE-2021-33587 (High) detected in multiple libraries - autoclosed #166

mend-bolt-for-github bot opened this issue Jul 4, 2021 · 1 comment · Fixed by #187, #190, #180, #195 or #198
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Jul 4, 2021

CVE-2021-33587 - High Severity Vulnerability

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

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: next-auth/www/package.json

Path to vulnerable library: next-auth/www/node_modules/css-what/package.json

Dependency Hierarchy:

  • core-2.0.0-beta.0.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)
css-what-2.1.3.tgz

a CSS selector parser

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

Path to dependency file: next-auth/www/package.json

Path to vulnerable library: next-auth/www/node_modules/cheerio/node_modules/css-what/package.json

Dependency Hierarchy:

  • core-2.0.0-beta.0.tgz (Root Library)
    • static-site-generator-webpack-plugin-4.0.0.tgz
      • cheerio-0.22.0.tgz
        • css-select-1.2.0.tgz
          • css-what-2.1.3.tgz (Vulnerable Library)
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: next-auth/www/package.json

Path to vulnerable library: next-auth/www/node_modules/renderkid/node_modules/css-what/package.json,next-auth/www/node_modules/@svgr/plugin-svgo/node_modules/css-what/package.json,next-auth/node_modules/css-what/package.json

Dependency Hierarchy:

  • cssnano-4.1.11.tgz (Root Library)
    • cssnano-preset-default-4.0.8.tgz
      • postcss-svgo-4.0.3.tgz
        • svgo-1.3.2.tgz
          • css-select-2.1.0.tgz
            • css-what-3.4.2.tgz (Vulnerable Library)

Found in HEAD commit: 00ed3fc7baf4f6f49d48cbf707ea220197d81916

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 Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jul 4, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33587 (High) detected in multiple libraries CVE-2021-33587 (High) detected in multiple libraries - autoclosed Jan 2, 2022
@mend-bolt-for-github
Copy link
Author

✔️ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment