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

WS-2020-0042 (Medium) detected in acorn-2.7.0.tgz, acorn-6.4.0.tgz #291

Closed
mend-bolt-for-github bot opened this issue Mar 8, 2020 · 0 comments
Closed
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

WS-2020-0042 - Medium Severity Vulnerability

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

acorn-2.7.0.tgz

ECMAScript parser

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

Path to dependency file: /tmp/ws-scm/webpack-mpa-next/package.json

Path to vulnerable library: /tmp/ws-scm/webpack-mpa-next/node_modules/acorn-globals/node_modules/acorn/package.json

Dependency Hierarchy:

  • spritesh-1.2.1.tgz (Root Library)
    • cheerio-0.20.0.tgz
      • jsdom-7.2.2.tgz
        • acorn-globals-1.0.9.tgz
          • acorn-2.7.0.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: /tmp/ws-scm/webpack-mpa-next/package.json

Path to vulnerable library: /tmp/ws-scm/webpack-mpa-next/node_modules/eslint-config-react-native/node_modules/acorn/package.json

Dependency Hierarchy:

  • eslint-config-recommended-4.0.0.tgz (Root Library)
    • eslint-config-esnext-4.0.0.tgz
      • eslint-5.16.0.tgz
        • espree-5.0.1.tgz
          • acorn-6.4.0.tgz (Vulnerable Library)

Found in HEAD commit: 20f2ee206546069f14a20babae1ee1dfe5b38aa0

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-08

URL: WS-2020-0042

CVSS 3 Score Details (5.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: N/A
    • Attack Complexity: N/A
    • Privileges Required: N/A
    • User Interaction: N/A
    • Scope: N/A
  • Impact Metrics:
    • Confidentiality Impact: N/A
    • Integrity Impact: N/A
    • Availability Impact: N/A

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/1488

Release Date: 2020-03-08

Fix Resolution: 7.1.1


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 8, 2020
@scriptex scriptex closed this as completed Mar 9, 2020
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

1 participant