Skip to content

CVE-2021-33587 (High) detected in css-what-2.1.3.tgz, css-what-2.1.0.tgz - autoclosed #161

Description

@mend-bolt-for-github

CVE-2021-33587 - High Severity Vulnerability

Vulnerable Libraries - css-what-2.1.3.tgz, css-what-2.1.0.tgz

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

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

Dependency Hierarchy:

  • get-image-colors-1.8.1.tgz (Root Library)
    • get-svg-colors-1.5.1.tgz
      • cheerio-0.22.0.tgz
        • css-select-1.2.0.tgz
          • css-what-2.1.3.tgz (Vulnerable Library)
css-what-2.1.0.tgz

a CSS selector parser

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

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • cheerio-1.0.0-rc.2.tgz (Root Library)
    • css-select-1.2.0.tgz
      • css-what-2.1.0.tgz (Vulnerable Library)

Found in HEAD commit: d7b2895166a2d85ffbb219177376b9f7e50e0330

Found in base branch: master

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

Direct dependency fix Resolution (cheerio): 1.0.0-rc.6


Step up your Open Source Security Game with WhiteSource here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions