axios icon indicating copy to clipboard operation
axios copied to clipboard

CVE-2017-16028 (Medium) detected in randomatic-1.1.5.tgz

Open mend-bolt-for-github[bot] opened this issue 3 years ago • 0 comments

CVE-2017-16028 - Medium Severity Vulnerability

Vulnerable Library - randomatic-1.1.5.tgz

Generate randomized strings of a specified length, fast. Only the length is necessary, but you can optionally generate patterns using any combination of numeric, alpha-numeric, alphabetical, special or custom characters.

Library home page: https://registry.npmjs.org/randomatic/-/randomatic-1.1.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/nyc/node_modules/randomatic/package.json

Dependency Hierarchy:

  • grunt-contrib-nodeunit-1.0.0.tgz (Root Library)
    • nodeunit-0.9.5.tgz
      • tap-7.1.2.tgz
        • nyc-7.1.0.tgz
          • micromatch-2.3.11.tgz
            • braces-1.8.5.tgz
              • expand-range-1.8.2.tgz
                • fill-range-2.2.3.tgz
                  • :x: randomatic-1.1.5.tgz (Vulnerable Library)

Found in HEAD commit: 91ceb6046aaa22e9934ed13ea5acba9c988c490c

Found in base branch: master

Vulnerability Details

react-native-meteor-oauth is a library for Oauth2 login to a Meteor server in React Native. The oauth Random Token is generated using a non-cryptographically strong RNG (Math.random()).

Publish Date: 2018-06-04

URL: CVE-2017-16028

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: None
    • Availability Impact: None
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/157/versions

Release Date: 2018-06-04

Fix Resolution (randomatic): 3.0.0

Direct dependency fix Resolution (grunt-contrib-nodeunit): 2.0.0


Step up your Open Source Security Game with Mend here