rvvergara / advanced-web-developer-bootcamp-notes-examples-and-exercises

Examples and Exercises compiled. From the awesome Advanced Web Developer Bootcamp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WS-2021-0152 (High) detected in color-string-0.3.0.tgz

mend-bolt-for-github opened this issue · comments

WS-2021-0152 - High Severity Vulnerability

Vulnerable Library - color-string-0.3.0.tgz

Parser and generator for CSS color strings

Library home page: https://registry.npmjs.org/color-string/-/color-string-0.3.0.tgz

Path to dependency file: /Section29-Component-LifeCycle-Methods/hacker-news/package.json

Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/color-string/package.json

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • css-loader-0.28.7.tgz
      • cssnano-3.10.0.tgz
        • postcss-colormin-2.2.2.tgz
          • colormin-1.1.2.tgz
            • color-0.11.4.tgz
              • color-string-0.3.0.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Regular Expression Denial of Service (ReDoS) was found in color-string before 1.5.5.

Publish Date: 2021-03-12

URL: WS-2021-0152

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

Release Date: 2021-03-12

Fix Resolution (color-string): 1.5.5

Direct dependency fix Resolution (react-scripts): 2.0.0


Step up your Open Source Security Game with Mend here