mheob / itsb-web

The Homepage, build in React, of the IT Service Böhm in Neuwied.

Home Page:https://www.its-boehm.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2021-3807 (High) detected in multiple libraries - autoclosed

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

CVE-2021-3807 - High Severity Vulnerability

Vulnerable Libraries - ansi-regex-4.1.0.tgz, ansi-regex-5.0.0.tgz, ansi-regex-3.0.0.tgz

ansi-regex-4.1.0.tgz

Regular expression for matching ANSI escape codes

Library home page: https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz

Path to dependency file: /frontend/package.json

Path to vulnerable library: /frontend/node_modules/stylelint-config-rational-order/node_modules/ansi-regex/package.json,/frontend/node_modules/prettier-standard/node_modules/ansi-regex/package.json

Dependency Hierarchy:

  • stylelint-config-rational-order-0.1.2.tgz (Root Library)
    • stylelint-9.10.1.tgz
      • string-width-3.1.0.tgz
        • strip-ansi-5.2.0.tgz
          • ansi-regex-4.1.0.tgz (Vulnerable Library)
ansi-regex-5.0.0.tgz

Regular expression for matching ANSI escape codes

Library home page: https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz

Path to dependency file: /backend/package.json

Path to vulnerable library: /backend/node_modules/ansi-regex/package.json

Dependency Hierarchy:

  • copyfiles-2.4.1.tgz (Root Library)
    • yargs-16.2.0.tgz
      • string-width-4.2.2.tgz
        • strip-ansi-6.0.0.tgz
          • ansi-regex-5.0.0.tgz (Vulnerable Library)
ansi-regex-3.0.0.tgz

Regular expression for matching ANSI escape codes

Library home page: https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz

Path to dependency file: /frontend/package.json

Path to vulnerable library: /frontend/node_modules/boxen/node_modules/ansi-regex/package.json,/frontend/node_modules/widest-line/node_modules/ansi-regex/package.json,/frontend/node_modules/prettier-stylelint/node_modules/ansi-regex/package.json,/frontend/node_modules/ansi-align/node_modules/ansi-regex/package.json,/frontend/node_modules/prettier-eslint/node_modules/ansi-regex/package.json,/frontend/node_modules/wrap-ansi/node_modules/ansi-regex/package.json

Dependency Hierarchy:

  • prettier-stylelint-0.4.2.tgz (Root Library)
    • update-notifier-2.5.0.tgz
      • boxen-1.3.0.tgz
        • ansi-align-2.0.0.tgz
          • string-width-2.1.1.tgz
            • strip-ansi-4.0.0.tgz
              • ansi-regex-3.0.0.tgz (Vulnerable Library)

Found in HEAD commit: 63cd64e6436a5ddc88015de41fc0c04679e53b1f

Found in base branch: master

Vulnerability Details

ansi-regex is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-17

URL: CVE-2021-3807

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://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994/

Release Date: 2021-09-17

Fix Resolution: ansi-regex - 5.0.1,6.0.1


Step up your Open Source Security Game with WhiteSource here

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.