Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

WS-2020-0042 (High) detected in acorn-5.7.3.tgz, acorn-6.4.0.tgz #581

Open
mend-bolt-for-github bot opened this issue Apr 30, 2021 · 0 comments
Open
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Apr 30, 2021

WS-2020-0042 - High Severity Vulnerability

Vulnerable Libraries - acorn-5.7.3.tgz, acorn-6.4.0.tgz

acorn-5.7.3.tgz

ECMAScript parser

Library home page: https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz

Path to dependency file: /mig3-ui/package.json

Path to vulnerable library: /mig3-ui/node_modules/espree/node_modules/acorn/package.json

Dependency Hierarchy:

  • cli-plugin-eslint-3.12.1.tgz (Root Library)
    • eslint-4.19.1.tgz
      • espree-3.5.4.tgz
        • acorn-5.7.3.tgz (Vulnerable Library)
acorn-6.4.0.tgz

ECMAScript parser

Library home page: https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz

Path to dependency file: /mig3-ui/package.json

Path to vulnerable library: /mig3-ui/node_modules/acorn/package.json

Dependency Hierarchy:

  • cli-service-3.12.1.tgz (Root Library)
    • acorn-6.4.0.tgz (Vulnerable Library)

Vulnerability Details

acorn is vulnerable to REGEX DoS. A regex of the form /[x-\ud800]/u causes the parser to enter an infinite loop. attackers may leverage the vulnerability leading to a Denial of Service since the string is not valid UTF16 and it results in it being sanitized before reaching the parser.

Publish Date: 2020-03-01

URL: WS-2020-0042

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://www.npmjs.com/advisories/1488

Release Date: 2020-03-01

Fix Resolution (acorn): 5.7.4

Direct dependency fix Resolution (@vue/cli-plugin-eslint): 4.0.0-alpha.0

Fix Resolution (acorn): 6.4.1

Direct dependency fix Resolution (@vue/cli-service): 4.0.0-alpha.0


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Apr 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants