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-2022-21222 (High) detected in css-what-2.1.0.tgz #176

Open
mend-for-github-com bot opened this issue Sep 30, 2022 · 0 comments
Open

CVE-2022-21222 (High) detected in css-what-2.1.0.tgz #176

mend-for-github-com bot opened this issue Sep 30, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Sep 30, 2022

CVE-2022-21222 - High Severity Vulnerability

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

Dependency Hierarchy:

  • cli-1.7.3.tgz (Root Library)
    • html-webpack-plugin-2.30.1.tgz
      • pretty-error-2.1.1.tgz
        • renderkid-2.0.1.tgz
          • css-select-1.2.0.tgz
            • css-what-2.1.0.tgz (Vulnerable Library)

Found in HEAD commit: e09ef1e3a45be925a41a2e1aa6a0bcbc6b3c41ea

Found in base branch: master

Vulnerability Details

The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.

Publish Date: 2022-09-30

URL: CVE-2022-21222

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-2022-21222

Release Date: 2022-09-30

Fix Resolution (css-what): 2.1.3

Direct dependency fix Resolution (@angular/cli): 1.7.4


⛑️ 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 WhiteSource label Sep 30, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-21222 (Medium) detected in css-what-2.1.0.tgz CVE-2022-21222 (High) detected in css-what-2.1.0.tgz Oct 12, 2022
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 WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants