Skip to content

WS-2020-0042 (High) detected in acorn-3.3.0.tgz, acorn-4.0.13.tgz #73

Open

Description

@mend-bolt-for-github

WS-2020-0042 - High Severity Vulnerability

Vulnerable Libraries - acorn-3.3.0.tgz, acorn-4.0.13.tgz

acorn-3.3.0.tgz

ECMAScript parser

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

Path to dependency file: /tmp/ws-scm/eventpoints-backend/api/package.json

Path to vulnerable library: /tmp/ws-scm/eventpoints-backend/api/node_modules/acorn/package.json

Dependency Hierarchy:

  • pillars-0.7.1.tgz (Root Library)
    • templated-0.3.9.tgz
      • pug-2.0.0-beta6.tgz
        • pug-code-gen-1.1.1.tgz
          • with-5.1.1.tgz
            • ❌ acorn-3.3.0.tgz (Vulnerable Library)
acorn-4.0.13.tgz

ECMAScript parser

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

Path to dependency file: /tmp/ws-scm/eventpoints-backend/api/package.json

Path to vulnerable library: /tmp/ws-scm/eventpoints-backend/api/node_modules/is-expression/node_modules/acorn/package.json

Dependency Hierarchy:

  • pillars-0.7.1.tgz (Root Library)
    • templated-0.3.9.tgz
      • pug-2.0.0-beta6.tgz
        • pug-code-gen-1.1.1.tgz
          • with-5.1.1.tgz
            • acorn-globals-3.1.0.tgz
              • ❌ acorn-4.0.13.tgz (Vulnerable Library)

Found in HEAD commit: af48c1e8773db261917ee3c0673cde2d732b9e34

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

Fix Resolution: 7.1.1


Step up your Open Source Security Game with WhiteSource here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions