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-25758 (High) detected in scss-tokenizer-0.2.3.tgz #113

Open
1 task
mend-for-github-com bot opened this issue Jul 3, 2022 · 0 comments
Open
1 task

CVE-2022-25758 (High) detected in scss-tokenizer-0.2.3.tgz #113

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

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jul 3, 2022

CVE-2022-25758 - High Severity Vulnerability

Vulnerable Library - scss-tokenizer-0.2.3.tgz

A tokenzier for Sass' SCSS syntax

Library home page: https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz

Path to dependency file: /webui/package.json

Path to vulnerable library: /webui/node_modules/scss-tokenizer/package.json

Dependency Hierarchy:

  • node-sass-4.12.0.tgz (Root Library)
    • sass-graph-2.2.4.tgz
      • scss-tokenizer-0.2.3.tgz (Vulnerable Library)

Found in HEAD commit: 5fb0a687f6f4614ef22e971903247af1c371d3c8

Found in base branch: master

Vulnerability Details

All versions of package scss-tokenizer are vulnerable to Regular Expression Denial of Service (ReDoS) via the loadAnnotation() function, due to the usage of insecure regex.

Publish Date: 2022-07-01

URL: CVE-2022-25758

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: GHSA-7mwh-4pqv-wmr8

Release Date: 2022-07-01

Fix Resolution (scss-tokenizer): 0.4.3

Direct dependency fix Resolution (node-sass): 7.0.2


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jul 3, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-25758 (Medium) detected in scss-tokenizer-0.2.3.tgz CVE-2022-25758 (High) detected in scss-tokenizer-0.2.3.tgz Jul 17, 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