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

CVE-2021-23424 (High) detected in ansi-html-0.0.7.tgz

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

CVE-2021-23424 - High Severity Vulnerability

Vulnerable Library - ansi-html-0.0.7.tgz

An elegant lib that converts the chalked (ANSI) text to HTML.

Library home page: https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz

Path to dependency file: /Section26-Create-React-App-and-Props/helloworld/package.json

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

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • webpack-dev-server-2.9.4.tgz
      • ansi-html-0.0.7.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

This affects all versions of package ansi-html. If an attacker provides a malicious string, it will get stuck processing the input for an extremely long time.

Publish Date: 2021-08-18

URL: CVE-2021-23424

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://nvd.nist.gov/vuln/detail/CVE-2021-23424

Release Date: 2021-08-18

Fix Resolution (ansi-html): 0.0.8

Direct dependency fix Resolution (react-scripts): 5.0.0


Step up your Open Source Security Game with Mend here