Git Product home page Git Product logo

node-kms's Introduction

node-kms

A JavaScript implementation of Key Management Service (KMS) for current web browsers and node.js-based servers. The KMS API is described in [draft-abiggs-saag-key-management-service-02].

Installing

To install the latest from NPM:

  npm install node-kms

Or to install a specific release:

  npm install [email protected]

Alternatively, the latest unpublished code can be installed directly from the repository:

  npm install git+ssh://[email protected]:cisco/node-kms.git

Basics

Require the library as normal:

var KMS = require('node-kms');

This library uses Promises for many operations.

This library supports Browserify. To use in a web browser, require('node-kms') and bundle with the rest of your app.

KeyObjects

A KMS KeyObject wraps a JSON Web Key (JWK) to provide more semantics: a URI to locate it; the creating user and client; the date/time of when a key is created, bound, and/or expires; and the owning resource (once bound).

Creating

To create an empty KeyObject:

var keyobj = new KMS.KeyObject();

None of the KMS.KeyObject properties are set.

Alternatively, to create a KeyObject from a JSON or POJO representation:

// {input} is one of:
// *  a JSON object (where date/times are RFC3339-encoded Strings)
// *  a POJO (where date/times are Date objects)
var keyobj = new.KeyObject(input);

Importing/Exporting

NOTE: The JSON representation includes all properties for a KeyObject, including the full JWK (if present). This can expose secret key material if not carefully handled; do not save to durable storage without protecting it (e.g., encrypting to a JWE).

To import a KeyObject from a JSON object:

// {input} is one of:
// *  a JSON object (where date/times are RFC3339-encoded Strings)
// *  a POJO (where date/times are Date objects)
// *  an existing KeyObject instance
keyobj = KMS.fromObject(input);

In the case where input is already a KeyObject, it is returned as-is.

To export a KeyObject to a JSON object:

var output = keyobj.toJSON();

Obtaining a node-jose Key

To convert the jwk property of a KeyObject to a node-jose Key (to use for encryption or signatures):

var jwk;
keyobj.asKey().
    then(function(result) {
      // {result} is a jose.JWK.Key
      jwk = result;
    });

If jwk is not set on the KeyObject, the returned Promise is rejected.

Contexts

The KMS.Context holds onto information necessary to wrap Requests and unwrap Responses.

Creating and Initializing

To create an empty Context:

var kmsCtx = new KMS.Context();

None of the Context properties are set.

To finish initializing the Context, set the clientInfo and serverInfo properties:

// {clientId} is a String containing an identifier for the client or session
// {userId} is a String containing the user's identifier
// {oauth2token} is a String containing an OAuth2 Bearer token
kmsCtx.clientInfo = {
  clientId: clientId,
  credential: {
    userId: userId,
    bearer: oauth2token
  }
};
// {serverPublicKey} is a JWK JSON object
kmsCtx.serverInfo = {
  key: serverPublicKey
};

Generating an Ephemeral EC Key

To create a KeyObject representing the local ECDH key:

kmsCtx.createECDHKey().
    then(function(result) {
      // {result} is a KMS.KeyObject wrapping a "EC" JWK
      kmsCtx.ephemeralKey = result;
    })

Deriving an Ephemeral Shared Key

To derive an ephemeral shared key -- such as the result of the ECDHE handshake:

// {remoteECDH} is a KMS.KeyObject wrapping a "EC" JWK
kmsCrx.deriveEphemeralKey(remoteECDH).
    then(function(result) {
      // {result} is a KMS.KeyObject wrapping a "oct" JWK
      kmsCtx.ephemeralKey = result;
    });

Requests

The KMS.Request embodies a single request from a client to the KMS.

A Request instance has the following (read/write) properties:

  • body -- the full (plaintext) JSON to be sent to the KMS
  • requestId -- the unique id for this request
  • uri -- the URI of the request (e.g., "/ecdhe/", "/resources", etc.)
  • method -- the method (verb) for the request (e.g., "create", "retrieve", etc.)
  • wrapped -- the wrapped (encrypted) body

When a new body is set, the previous requestId, method, and uri are remembered, overwriting any new values that might have been in the provided JSON.

Creating

To create an empty request:

var request = new KMS.Request();

To create a request starting with a constructed body:

// {input} is a JSON object representing the request 
var request = new KMS.Request(input);

Wrapping

To wrap (encrypt) the Request into a JWE for transmitting to a KMS server, using an ephemeral shared key:

var output;
request.wrap(kmsCtx).
    then(function(result) {
      // {result} is a String of the JWE in the Compact Serialization
      // request.wrapped is also set to {result}
      output = result;
    });

Responses

The KMS.Response embodies a single response to a client from the KMS.

A Response instance has the following (read/write) properties:

  • body -- the full (plaintext) JSON received from the KMS
  • requestId -- the id for the corresponding request
  • status -- the status code of the response
  • reason -- the string reason (if any)
  • wrapped -- the protected (encrypted or signed) body

Creating

To create an empty KMS.Response:

var response = new KMS.Response();

To creat a KMS.Response with a received wrapped body:

// {input} is a String of the JWE (or JWS) using the Compact Serialization
var response = new KMS.Response(input);

Unwrapping

To unwrap a response into the plaintext body:

var input;
response.unwrap(kmsCtx).
    then(function(result) {
      // {result} is the plaintext JSON object
      // response.body is also set to {result}
      input = result;
    });

node-kms's People

Contributors

dima2022 avatar linuxwolf avatar mend-for-github-com[bot] avatar mukeshkmr776 avatar

node-kms's Issues

WS-2018-0650 (High) detected in useragent-2.3.0.tgz

WS-2018-0650 - High Severity Vulnerability

Vulnerable Library - useragent-2.3.0.tgz

Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing

Library home page: https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/useragent/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • useragent-2.3.0.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Regular Expression Denial of Service (ReDoS) vulnerability was found in useragent through 2.3.0.

Publish Date: 2018-02-27

URL: WS-2018-0650

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.

CVE-2020-11022 (Medium) detected in jquery-1.7.1.min.js

CVE-2020-11022 - Medium Severity Vulnerability

Vulnerable Library - jquery-1.7.1.min.js

JavaScript library for DOM operations

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js

Path to dependency file: node-kms/node_modules/vm-browserify/example/run/index.html

Path to vulnerable library: /node_modules/vm-browserify/example/run/index.html

Dependency Hierarchy:

  • jquery-1.7.1.min.js (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

Publish Date: 2020-04-29

URL: CVE-2020-11022

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/

Release Date: 2020-04-29

Fix Resolution: jQuery - 3.5.0

CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz

CVE-2021-33623 - High Severity Vulnerability

Vulnerable Library - trim-newlines-1.0.0.tgz

Trim newlines from the start and/or end of a string

Library home page: https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/trim-newlines/package.json

Dependency Hierarchy:

  • gulp-doctoc-0.1.4.tgz (Root Library)
    • gulp-util-2.2.20.tgz
      • dateformat-1.0.12.tgz
        • meow-3.7.0.tgz
          • trim-newlines-1.0.0.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.

Publish Date: 2021-05-28

URL: CVE-2021-33623

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33623

Release Date: 2021-05-28

Fix Resolution: trim-newlines - 3.0.1, 4.0.1

WS-2017-0421 (High) detected in ws-1.1.2.tgz

WS-2017-0421 - High Severity Vulnerability

Vulnerable Library - ws-1.1.2.tgz

simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455

Library home page: https://registry.npmjs.org/ws/-/ws-1.1.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/ws/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz
      • engine.io-1.8.3.tgz
        • ws-1.1.2.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Affected version of ws (0.2.6 through 3.3.0 excluding 0.3.4-2, 0.3.5-2, 0.3.5-3, 0.3.5-4, 1.1.5, 2.0.0-beta.0, 2.0.0-beta.1 and 2.0.0-beta.2) are vulnerable to A specially crafted value of the Sec-WebSocket-Extensions header that used Object.prototype property names as extension or parameter names could be used to make a ws server crash.

Publish Date: 2017-11-08

URL: WS-2017-0421

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: websockets/ws@c4fe466

Release Date: 2017-11-08

Fix Resolution: 3.3.1

CVE-2020-8203 (High) detected in multiple libraries

CVE-2020-8203 - High Severity Vulnerability

Vulnerable Libraries - lodash-3.5.0.tgz, lodash-1.0.2.tgz, lodash-3.9.3.tgz, lodash-3.2.0.tgz, lodash-3.10.1.tgz

lodash-3.5.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.5.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/sauce-connect-launcher/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • sauce-connect-launcher-0.11.1.tgz
      • lodash-3.5.0.tgz (Vulnerable Library)
lodash-1.0.2.tgz

A utility library delivering consistency, customization, performance, and extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/globule/node_modules/lodash/package.json

Dependency Hierarchy:

  • gulp-3.9.1.tgz (Root Library)
    • vinyl-fs-0.3.14.tgz
      • glob-watcher-0.0.6.tgz
        • gaze-0.5.2.tgz
          • globule-0.1.0.tgz
            • lodash-1.0.2.tgz (Vulnerable Library)
lodash-3.9.3.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.9.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/wd/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • lodash-3.9.3.tgz (Vulnerable Library)
lodash-3.2.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.2.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/zip-stream/node_modules/lodash/package.json,node-kms/node_modules/archiver/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • archiver-0.14.4.tgz
        • lodash-3.2.0.tgz (Vulnerable Library)
lodash-3.10.1.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/karma-webpack/node_modules/lodash/package.json,node-kms/node_modules/gulp-istanbul/node_modules/lodash/package.json,node-kms/node_modules/karma/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • lodash-3.10.1.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.

Publish Date: 2020-07-15

URL: CVE-2020-8203

CVSS 3 Score Details (7.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2020-10-21

Fix Resolution: lodash - 4.17.19

CVE-2021-23337 (High) detected in multiple libraries

CVE-2021-23337 - High Severity Vulnerability

Vulnerable Libraries - lodash-3.10.1.tgz, lodash-3.5.0.tgz, lodash-3.2.0.tgz, lodash-3.9.3.tgz, lodash-1.0.2.tgz

lodash-3.10.1.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/karma-webpack/node_modules/lodash/package.json,node-kms/node_modules/gulp-istanbul/node_modules/lodash/package.json,node-kms/node_modules/karma/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • lodash-3.10.1.tgz (Vulnerable Library)
lodash-3.5.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.5.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/sauce-connect-launcher/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • sauce-connect-launcher-0.11.1.tgz
      • lodash-3.5.0.tgz (Vulnerable Library)
lodash-3.2.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.2.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/zip-stream/node_modules/lodash/package.json,node-kms/node_modules/archiver/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • archiver-0.14.4.tgz
        • lodash-3.2.0.tgz (Vulnerable Library)
lodash-3.9.3.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.9.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/wd/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • lodash-3.9.3.tgz (Vulnerable Library)
lodash-1.0.2.tgz

A utility library delivering consistency, customization, performance, and extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/globule/node_modules/lodash/package.json

Dependency Hierarchy:

  • gulp-3.9.1.tgz (Root Library)
    • vinyl-fs-0.3.14.tgz
      • glob-watcher-0.0.6.tgz
        • gaze-0.5.2.tgz
          • globule-0.1.0.tgz
            • lodash-1.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.

Publish Date: 2021-02-15

URL: CVE-2021-23337

CVSS 3 Score Details (7.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: High
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: lodash/lodash@3469357

Release Date: 2021-02-15

Fix Resolution: lodash - 4.17.21

WS-2017-0247 (Low) detected in ms-0.7.1.tgz, ms-0.7.2.tgz

WS-2017-0247 - Low Severity Vulnerability

Vulnerable Libraries - ms-0.7.1.tgz, ms-0.7.2.tgz

ms-0.7.1.tgz

Tiny ms conversion utility

Library home page: https://registry.npmjs.org/ms/-/ms-0.7.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/mocha/node_modules/ms/package.json,node-kms/node_modules/socket.io-parser/node_modules/ms/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz
      • socket.io-parser-2.3.1.tgz
        • debug-2.2.0.tgz
          • ms-0.7.1.tgz (Vulnerable Library)
ms-0.7.2.tgz

Tiny milisecond conversion utility

Library home page: https://registry.npmjs.org/ms/-/ms-0.7.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/socket.io/node_modules/ms/package.json,node-kms/node_modules/engine.io-client/node_modules/ms/package.json,node-kms/node_modules/socket.io-client/node_modules/ms/package.json,node-kms/node_modules/socket.io-adapter/node_modules/ms/package.json,node-kms/node_modules/engine.io/node_modules/ms/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz
      • engine.io-1.8.3.tgz
        • debug-2.3.3.tgz
          • ms-0.7.2.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS).

Publish Date: 2017-04-12

URL: WS-2017-0247

CVSS 2 Score Details (3.4)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: vercel/ms#89

Release Date: 2017-04-12

Fix Resolution: 2.1.1

CVE-2019-1010266 (Medium) detected in multiple libraries

CVE-2019-1010266 - Medium Severity Vulnerability

Vulnerable Libraries - lodash-3.9.3.tgz, lodash-3.2.0.tgz, lodash-3.10.1.tgz, lodash-3.5.0.tgz, lodash-1.0.2.tgz

lodash-3.9.3.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.9.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/wd/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • lodash-3.9.3.tgz (Vulnerable Library)
lodash-3.2.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.2.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/zip-stream/node_modules/lodash/package.json,node-kms/node_modules/archiver/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • archiver-0.14.4.tgz
        • lodash-3.2.0.tgz (Vulnerable Library)
lodash-3.10.1.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/karma-webpack/node_modules/lodash/package.json,node-kms/node_modules/gulp-istanbul/node_modules/lodash/package.json,node-kms/node_modules/karma/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • lodash-3.10.1.tgz (Vulnerable Library)
lodash-3.5.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.5.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/sauce-connect-launcher/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • sauce-connect-launcher-0.11.1.tgz
      • lodash-3.5.0.tgz (Vulnerable Library)
lodash-1.0.2.tgz

A utility library delivering consistency, customization, performance, and extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/globule/node_modules/lodash/package.json

Dependency Hierarchy:

  • gulp-3.9.1.tgz (Root Library)
    • vinyl-fs-0.3.14.tgz
      • glob-watcher-0.0.6.tgz
        • gaze-0.5.2.tgz
          • globule-0.1.0.tgz
            • lodash-1.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

lodash prior to 4.17.11 is affected by: CWE-400: Uncontrolled Resource Consumption. The impact is: Denial of service. The component is: Date handler. The attack vector is: Attacker provides very long strings, which the library attempts to match using a regular expression. The fixed version is: 4.17.11.

Publish Date: 2019-07-17

URL: CVE-2019-1010266

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1010266

Release Date: 2019-07-17

Fix Resolution: 4.17.11

CVE-2019-10744 (High) detected in multiple libraries

CVE-2019-10744 - High Severity Vulnerability

Vulnerable Libraries - lodash.template-3.6.2.tgz, lodash.merge-3.3.2.tgz, lodash-1.0.2.tgz, lodash-3.5.0.tgz, lodash-3.2.0.tgz, lodash-3.10.1.tgz, lodash-3.9.3.tgz

lodash.template-3.6.2.tgz

The modern build of lodash’s `_.template` as a module.

Library home page: https://registry.npmjs.org/lodash.template/-/lodash.template-3.6.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/lodash.template/package.json

Dependency Hierarchy:

  • gulp-3.9.1.tgz (Root Library)
    • gulp-util-3.0.8.tgz
      • lodash.template-3.6.2.tgz (Vulnerable Library)
lodash.merge-3.3.2.tgz

The modern build of lodash’s `_.merge` as a module.

Library home page: https://registry.npmjs.org/lodash.merge/-/lodash.merge-3.3.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: /node_modules/lodash.merge/package.json

Dependency Hierarchy:

  • lodash.merge-3.3.2.tgz (Vulnerable Library)
lodash-1.0.2.tgz

A utility library delivering consistency, customization, performance, and extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/globule/node_modules/lodash/package.json

Dependency Hierarchy:

  • gulp-3.9.1.tgz (Root Library)
    • vinyl-fs-0.3.14.tgz
      • glob-watcher-0.0.6.tgz
        • gaze-0.5.2.tgz
          • globule-0.1.0.tgz
            • lodash-1.0.2.tgz (Vulnerable Library)
lodash-3.5.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.5.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/sauce-connect-launcher/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • sauce-connect-launcher-0.11.1.tgz
      • lodash-3.5.0.tgz (Vulnerable Library)
lodash-3.2.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.2.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/zip-stream/node_modules/lodash/package.json,node-kms/node_modules/archiver/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • archiver-0.14.4.tgz
        • lodash-3.2.0.tgz (Vulnerable Library)
lodash-3.10.1.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/karma-webpack/node_modules/lodash/package.json,node-kms/node_modules/gulp-istanbul/node_modules/lodash/package.json,node-kms/node_modules/karma/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • lodash-3.10.1.tgz (Vulnerable Library)
lodash-3.9.3.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.9.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/wd/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • lodash-3.9.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep could be tricked into adding or modifying properties of Object.prototype using a constructor payload.

Publish Date: 2019-07-26

URL: CVE-2019-10744

CVSS 3 Score Details (9.1)

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: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-jf85-cpcp-j695

Release Date: 2019-07-08

Fix Resolution: lodash-4.17.12, lodash-amd-4.17.12, lodash-es-4.17.12, lodash.defaultsdeep-4.6.1, lodash.merge- 4.6.2, lodash.mergewith-4.6.2, lodash.template-4.5.0

CVE-2018-3721 (Medium) detected in multiple libraries

CVE-2018-3721 - Medium Severity Vulnerability

Vulnerable Libraries - lodash.merge-3.3.2.tgz, lodash-1.0.2.tgz, lodash-3.2.0.tgz, lodash-3.10.1.tgz, lodash-3.9.3.tgz, lodash-3.5.0.tgz

lodash.merge-3.3.2.tgz

The modern build of lodash’s `_.merge` as a module.

Library home page: https://registry.npmjs.org/lodash.merge/-/lodash.merge-3.3.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: /node_modules/lodash.merge/package.json

Dependency Hierarchy:

  • lodash.merge-3.3.2.tgz (Vulnerable Library)
lodash-1.0.2.tgz

A utility library delivering consistency, customization, performance, and extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/globule/node_modules/lodash/package.json

Dependency Hierarchy:

  • gulp-3.9.1.tgz (Root Library)
    • vinyl-fs-0.3.14.tgz
      • glob-watcher-0.0.6.tgz
        • gaze-0.5.2.tgz
          • globule-0.1.0.tgz
            • lodash-1.0.2.tgz (Vulnerable Library)
lodash-3.2.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.2.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/zip-stream/node_modules/lodash/package.json,node-kms/node_modules/archiver/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • archiver-0.14.4.tgz
        • lodash-3.2.0.tgz (Vulnerable Library)
lodash-3.10.1.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/karma-webpack/node_modules/lodash/package.json,node-kms/node_modules/gulp-istanbul/node_modules/lodash/package.json,node-kms/node_modules/karma/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • lodash-3.10.1.tgz (Vulnerable Library)
lodash-3.9.3.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.9.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/wd/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • lodash-3.9.3.tgz (Vulnerable Library)
lodash-3.5.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.5.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/sauce-connect-launcher/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • sauce-connect-launcher-0.11.1.tgz
      • lodash-3.5.0.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.

Publish Date: 2018-06-07

URL: CVE-2018-3721

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2018-3721

Release Date: 2018-06-07

Fix Resolution: 4.17.5

CVE-2020-28481 (Medium) detected in socket.io-1.7.3.tgz

CVE-2020-28481 - Medium Severity Vulnerability

Vulnerable Library - socket.io-1.7.3.tgz

node.js realtime framework server

Library home page: https://registry.npmjs.org/socket.io/-/socket.io-1.7.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/socket.io/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

The package socket.io before 2.4.0 are vulnerable to Insecure Defaults due to CORS Misconfiguration. All domains are whitelisted by default.

Publish Date: 2021-01-19

URL: CVE-2020-28481

CVSS 3 Score Details (4.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28481

Release Date: 2021-01-19

Fix Resolution: 2.4.0

CVE-2017-16042 (High) detected in growl-1.9.2.tgz

CVE-2017-16042 - High Severity Vulnerability

Vulnerable Library - growl-1.9.2.tgz

Growl unobtrusive notifications

Library home page: https://registry.npmjs.org/growl/-/growl-1.9.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/growl/package.json

Dependency Hierarchy:

  • mocha-2.5.3.tgz (Root Library)
    • growl-1.9.2.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Growl adds growl notification support to nodejs. Growl before 1.10.2 does not properly sanitize input before passing it to exec, allowing for arbitrary command execution.

Publish Date: 2018-06-04

URL: CVE-2017-16042

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2017-16042

Release Date: 2018-06-04

Fix Resolution: 1.10.2

CVE-2017-16026 (Medium) detected in request-2.55.0.tgz

CVE-2017-16026 - Medium Severity Vulnerability

Vulnerable Library - request-2.55.0.tgz

Simplified HTTP request client.

Library home page: https://registry.npmjs.org/request/-/request-2.55.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/request/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • request-2.55.0.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Request is an http client. If a request is made using multipart, and the body type is a number, then the specified number of non-zero memory is passed in the body. This affects Request >=2.2.6 <2.47.0 || >2.51.0 <=2.67.0.

Publish Date: 2018-06-04

URL: CVE-2017-16026

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2017-16026

Release Date: 2018-06-04

Fix Resolution: 2.47.1,2.67.1

CVE-2020-11023 (Medium) detected in jquery-1.7.1.min.js

CVE-2020-11023 - Medium Severity Vulnerability

Vulnerable Library - jquery-1.7.1.min.js

JavaScript library for DOM operations

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js

Path to dependency file: node-kms/node_modules/vm-browserify/example/run/index.html

Path to vulnerable library: /node_modules/vm-browserify/example/run/index.html

Dependency Hierarchy:

  • jquery-1.7.1.min.js (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, passing HTML containing elements from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

Publish Date: 2020-04-29

URL: CVE-2020-11023

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/jquery/jquery/security/advisories/GHSA-jpcq-cgw6-v4j6,https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#440

Release Date: 2020-04-29

Fix Resolution: jquery - 3.5.0;jquery-rails - 4.4.0

WS-2018-0076 (Medium) detected in tunnel-agent-0.4.3.tgz

WS-2018-0076 - Medium Severity Vulnerability

Vulnerable Library - tunnel-agent-0.4.3.tgz

HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.

Library home page: https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/tunnel-agent/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • request-2.55.0.tgz
        • tunnel-agent-0.4.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Versions of tunnel-agent before 0.6.0 are vulnerable to memory exposure.

This is exploitable if user supplied input is provided to the auth value and is a number.

Publish Date: 2017-03-05

URL: WS-2018-0076

CVSS 3 Score Details (5.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nodesecurity.io/advisories/598

Release Date: 2018-01-27

Fix Resolution: 0.6.0

CVE-2016-10540 (High) detected in multiple libraries

CVE-2016-10540 - High Severity Vulnerability

Vulnerable Libraries - minimatch-0.2.14.tgz, minimatch-0.3.0.tgz, minimatch-2.0.10.tgz

minimatch-0.2.14.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/globule/node_modules/minimatch/package.json

Dependency Hierarchy:

  • gulp-3.9.1.tgz (Root Library)
    • vinyl-fs-0.3.14.tgz
      • glob-watcher-0.0.6.tgz
        • gaze-0.5.2.tgz
          • globule-0.1.0.tgz
            • minimatch-0.2.14.tgz (Vulnerable Library)
minimatch-0.3.0.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/mocha/node_modules/minimatch/package.json

Dependency Hierarchy:

  • mocha-2.5.3.tgz (Root Library)
    • glob-3.2.11.tgz
      • minimatch-0.3.0.tgz (Vulnerable Library)
minimatch-2.0.10.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/fileset/node_modules/minimatch/package.json,node-kms/node_modules/archiver/node_modules/minimatch/package.json,node-kms/node_modules/eslint/node_modules/minimatch/package.json,node-kms/node_modules/glob-stream/node_modules/minimatch/package.json

Dependency Hierarchy:

  • istanbul-0.3.22.tgz (Root Library)
    • fileset-0.2.1.tgz
      • minimatch-2.0.10.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript RegExp objects. The primary function, minimatch(path, pattern) in Minimatch 3.0.1 and earlier is vulnerable to ReDoS in the pattern parameter.

Publish Date: 2018-05-31

URL: CVE-2016-10540

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://nodesecurity.io/advisories/118

Release Date: 2016-06-20

Fix Resolution: Update to version 3.0.2 or later.

CVE-2020-7753 (High) detected in trim-0.0.1.tgz

CVE-2020-7753 - High Severity Vulnerability

Vulnerable Library - trim-0.0.1.tgz

Trim string whitespace

Library home page: https://registry.npmjs.org/trim/-/trim-0.0.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/trim/package.json

Dependency Hierarchy:

  • gulp-doctoc-0.1.4.tgz (Root Library)
    • doctoc-1.4.0.tgz
      • markdown-to-ast-6.0.9.tgz
        • remark-parse-5.0.0.tgz
          • trim-0.0.1.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().

Publish Date: 2020-10-27

URL: CVE-2020-7753

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: component/trim#8

Release Date: 2020-10-27

Fix Resolution: trim - 0.0.3

WS-2017-3772 (High) detected in underscore.string-3.0.3.tgz

WS-2017-3772 - High Severity Vulnerability

Vulnerable Library - underscore.string-3.0.3.tgz

String manipulation extensions for Underscore.js javascript library.

Library home page: https://registry.npmjs.org/underscore.string/-/underscore.string-3.0.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/underscore.string/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • underscore.string-3.0.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Regular Expression Denial of Service (ReDoS) vulnerability was found in underscore.string 2.4.0 through 3.3.5.

Publish Date: 2017-09-08

URL: WS-2017-3772

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.

CVE-2012-6708 (Medium) detected in jquery-1.7.1.min.js

CVE-2012-6708 - Medium Severity Vulnerability

Vulnerable Library - jquery-1.7.1.min.js

JavaScript library for DOM operations

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js

Path to dependency file: node-kms/node_modules/vm-browserify/example/run/index.html

Path to vulnerable library: /node_modules/vm-browserify/example/run/index.html

Dependency Hierarchy:

  • jquery-1.7.1.min.js (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.

Publish Date: 2018-01-18

URL: CVE-2012-6708

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2012-6708

Release Date: 2018-01-18

Fix Resolution: jQuery - v1.9.0

WS-2018-0347 (Medium) detected in eslint-0.15.1.tgz

WS-2018-0347 - Medium Severity Vulnerability

Vulnerable Library - eslint-0.15.1.tgz

An AST-based pattern checker for JavaScript.

Library home page: https://registry.npmjs.org/eslint/-/eslint-0.15.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/eslint/package.json

Dependency Hierarchy:

  • gulp-eslint-0.5.0.tgz (Root Library)
    • eslint-0.15.1.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

A vulnerability was descovered in eslint before 4.18.2. One of the regexes in eslint is vulnerable to catastrophic backtracking.

Publish Date: 2018-02-27

URL: WS-2018-0347

CVSS 3 Score Details (4.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: High
    • Privileges Required: High
    • User Interaction: Required
    • 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: eslint/eslint#10002

Release Date: 2019-06-16

Fix Resolution: 4.18.2

CVE-2017-1000048 (High) detected in qs-2.4.2.tgz

CVE-2017-1000048 - High Severity Vulnerability

Vulnerable Library - qs-2.4.2.tgz

A querystring parser that supports nesting and arrays, with a depth limit

Library home page: https://registry.npmjs.org/qs/-/qs-2.4.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/request/node_modules/qs/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • request-2.55.0.tgz
        • qs-2.4.2.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

the web framework using ljharb's qs module older than v6.3.2, v6.2.3, v6.1.2, and v6.0.4 is vulnerable to a DoS. A malicious user can send a evil request to cause the web framework crash.

Publish Date: 2017-07-17

URL: CVE-2017-1000048

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000048

Release Date: 2017-07-17

Fix Resolution: qs - 6.0.4,6.1.2,6.2.3,6.3.2

CVE-2017-16137 (Medium) detected in debug-2.2.0.tgz, debug-2.3.3.tgz

CVE-2017-16137 - Medium Severity Vulnerability

Vulnerable Libraries - debug-2.2.0.tgz, debug-2.3.3.tgz

debug-2.2.0.tgz

small debugging utility

Library home page: https://registry.npmjs.org/debug/-/debug-2.2.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/socket.io-parser/node_modules/debug/package.json,node-kms/node_modules/mocha/node_modules/debug/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz
      • socket.io-parser-2.3.1.tgz
        • debug-2.2.0.tgz (Vulnerable Library)
debug-2.3.3.tgz

small debugging utility

Library home page: https://registry.npmjs.org/debug/-/debug-2.3.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/socket.io-adapter/node_modules/debug/package.json,node-kms/node_modules/socket.io/node_modules/debug/package.json,node-kms/node_modules/socket.io-client/node_modules/debug/package.json,node-kms/node_modules/engine.io/node_modules/debug/package.json,node-kms/node_modules/engine.io-client/node_modules/debug/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz
      • engine.io-1.8.3.tgz
        • debug-2.3.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

The debug module is vulnerable to regular expression denial of service when untrusted user input is passed into the o formatter. It takes around 50k characters to block for 2 seconds making this a low severity issue.

Publish Date: 2018-06-07

URL: CVE-2017-16137

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: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-16137

Release Date: 2018-06-07

Fix Resolution: 2.6.9

CVE-2021-23358 (High) detected in underscore-1.8.3.tgz

CVE-2021-23358 - High Severity Vulnerability

Vulnerable Library - underscore-1.8.3.tgz

JavaScript's functional programming helper library.

Library home page: https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/underscore/package.json

Dependency Hierarchy:

  • gulp-doctoc-0.1.4.tgz (Root Library)
    • doctoc-1.4.0.tgz
      • underscore-1.8.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.

Publish Date: 2021-03-29

URL: CVE-2021-23358

CVSS 3 Score Details (7.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: High
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23358

Release Date: 2021-03-29

Fix Resolution: underscore - 1.12.1,1.13.0-2

WS-2019-0425 (Medium) detected in mocha-2.5.3.tgz

WS-2019-0425 - Medium Severity Vulnerability

Vulnerable Library - mocha-2.5.3.tgz

simple, flexible, fun test framework

Library home page: https://registry.npmjs.org/mocha/-/mocha-2.5.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: /node_modules/mocha/package.json

Dependency Hierarchy:

  • mocha-2.5.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Mocha is vulnerable to ReDoS attack. If the stack trace in utils.js begins with a large error message, and full-trace is not enabled, utils.stackTraceFilter() will take exponential run time.

Publish Date: 2019-01-24

URL: WS-2019-0425

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: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: v6.0.0

Release Date: 2020-05-07

Fix Resolution: https://github.com/mochajs/mocha/commit/1a43d8b11a64e4e85fe2a61aed91c259bbbac559


⛑️ Automatic Remediation is available for this issue

CVE-2020-7598 (Medium) detected in minimist-0.0.10.tgz, minimist-0.0.8.tgz

CVE-2020-7598 - Medium Severity Vulnerability

Vulnerable Libraries - minimist-0.0.10.tgz, minimist-0.0.8.tgz

minimist-0.0.10.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/optimist/node_modules/minimist/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • optimist-0.6.1.tgz
      • minimist-0.0.10.tgz (Vulnerable Library)
minimist-0.0.8.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/mocha/node_modules/minimist/package.json

Dependency Hierarchy:

  • mocha-2.5.3.tgz (Root Library)
    • mkdirp-0.5.1.tgz
      • minimist-0.0.8.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

minimist before 1.2.2 could be tricked into adding or modifying properties of Object.prototype using a "constructor" or "proto" payload.

Publish Date: 2020-03-11

URL: CVE-2020-7598

CVSS 3 Score Details (5.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/substack/minimist/commit/63e7ed05aa4b1889ec2f3b196426db4500cbda94

Release Date: 2020-03-11

Fix Resolution: minimist - 0.2.1,1.2.3

CVE-2018-16487 (Medium) detected in multiple libraries

CVE-2018-16487 - Medium Severity Vulnerability

Vulnerable Libraries - lodash-3.5.0.tgz, lodash-3.2.0.tgz, lodash-3.10.1.tgz, lodash-3.9.3.tgz, lodash-1.0.2.tgz

lodash-3.5.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.5.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/sauce-connect-launcher/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • sauce-connect-launcher-0.11.1.tgz
      • lodash-3.5.0.tgz (Vulnerable Library)
lodash-3.2.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.2.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/zip-stream/node_modules/lodash/package.json,node-kms/node_modules/archiver/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • archiver-0.14.4.tgz
        • lodash-3.2.0.tgz (Vulnerable Library)
lodash-3.10.1.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/karma-webpack/node_modules/lodash/package.json,node-kms/node_modules/gulp-istanbul/node_modules/lodash/package.json,node-kms/node_modules/karma/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • lodash-3.10.1.tgz (Vulnerable Library)
lodash-3.9.3.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.9.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/wd/node_modules/lodash/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • lodash-3.9.3.tgz (Vulnerable Library)
lodash-1.0.2.tgz

A utility library delivering consistency, customization, performance, and extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/globule/node_modules/lodash/package.json

Dependency Hierarchy:

  • gulp-3.9.1.tgz (Root Library)
    • vinyl-fs-0.3.14.tgz
      • glob-watcher-0.0.6.tgz
        • gaze-0.5.2.tgz
          • globule-0.1.0.tgz
            • lodash-1.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

A prototype pollution vulnerability was found in lodash <4.17.11 where the functions merge, mergeWith, and defaultsDeep can be tricked into adding or modifying properties of Object.prototype.

Publish Date: 2019-02-01

URL: CVE-2018-16487

CVSS 3 Score Details (5.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16487

Release Date: 2019-02-01

Fix Resolution: 4.17.11

WS-2017-0266 (Low) detected in http-signature-0.10.1.tgz

WS-2017-0266 - Low Severity Vulnerability

Vulnerable Library - http-signature-0.10.1.tgz

Reference implementation of Joyent's HTTP Signature scheme.

Library home page: https://registry.npmjs.org/http-signature/-/http-signature-0.10.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/http-signature/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • request-2.55.0.tgz
        • http-signature-0.10.1.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Affected versions (before 1.0.0) of the http-signature package are vulnerable to Timing Attacks.

Publish Date: 2015-01-22

URL: WS-2017-0266

CVSS 3 Score Details (3.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Adjacent
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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: TritonDataCenter/node-http-signature#36

Release Date: 2017-01-31

Fix Resolution: 1.0.0

CVE-2020-7656 (Medium) detected in jquery-1.7.1.min.js

CVE-2020-7656 - Medium Severity Vulnerability

Vulnerable Library - jquery-1.7.1.min.js

JavaScript library for DOM operations

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js

Path to dependency file: node-kms/node_modules/vm-browserify/example/run/index.html

Path to vulnerable library: /node_modules/vm-browserify/example/run/index.html

Dependency Hierarchy:

  • jquery-1.7.1.min.js (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

jquery prior to 1.9.0 allows Cross-site Scripting attacks via the load method. The load method fails to recognize and remove "<script>" HTML tags that contain a whitespace character, i.e: "</script >", which results in the enclosed script logic to be executed.

Publish Date: 2020-05-19

URL: CVE-2020-7656

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-q4m3-2j7h-f7xw

Release Date: 2020-05-28

Fix Resolution: jquery - 1.9.0

CVE-2020-8244 (Medium) detected in bl-0.9.5.tgz

CVE-2020-8244 - Medium Severity Vulnerability

Vulnerable Library - bl-0.9.5.tgz

Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!

Library home page: https://registry.npmjs.org/bl/-/bl-0.9.5.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/bl/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • request-2.55.0.tgz
        • bl-0.9.5.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

A buffer over-read vulnerability exists in bl <4.0.3, <3.0.1, <2.2.1, and <1.2.3 which could allow an attacker to supply user input (even typed) that if it ends up in consume() argument and can become negative, the BufferList state can be corrupted, tricking it into exposing uninitialized memory via regular .slice() calls.

Publish Date: 2020-08-30

URL: CVE-2020-8244

CVSS 3 Score Details (6.5)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8244

Release Date: 2020-08-30

Fix Resolution: 1.2.3,2.2.1,3.0.1,4.0.3

CVE-2017-16116 (High) detected in underscore.string-3.0.3.tgz

CVE-2017-16116 - High Severity Vulnerability

Vulnerable Library - underscore.string-3.0.3.tgz

String manipulation extensions for Underscore.js javascript library.

Library home page: https://registry.npmjs.org/underscore.string/-/underscore.string-3.0.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/underscore.string/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • underscore.string-3.0.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

The string module is a module that provides extra string operations. The string module is vulnerable to regular expression denial of service when specifically crafted untrusted user input is passed into the underscore or unescapeHTML methods.

Publish Date: 2018-06-07

URL: CVE-2017-16116

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/745

Release Date: 2018-06-07

Fix Resolution: 3.3.5

CVE-2020-36049 (High) detected in socket.io-parser-2.3.1.tgz

CVE-2020-36049 - High Severity Vulnerability

Vulnerable Library - socket.io-parser-2.3.1.tgz

socket.io protocol parser

Library home page: https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.3.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/socket.io-parser/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz
      • socket.io-parser-2.3.1.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

socket.io-parser before 3.4.1 allows attackers to cause a denial of service (memory consumption) via a large packet because a concatenation approach is used.

Publish Date: 2021-01-08

URL: CVE-2020-36049

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: GHSA-xfhh-g9f5-x4m4

Release Date: 2021-01-08

Fix Resolution: socket.io-parser - 3.3.2,3.4.1

CVE-2016-2515 (High) detected in hawk-2.3.1.tgz

CVE-2016-2515 - High Severity Vulnerability

Vulnerable Library - hawk-2.3.1.tgz

HTTP Hawk Authentication Scheme

Library home page: https://registry.npmjs.org/hawk/-/hawk-2.3.1.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/hawk/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • request-2.55.0.tgz
        • hawk-2.3.1.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Hawk before 3.1.3 and 4.x before 4.1.1 allow remote attackers to cause a denial of service (CPU consumption or partial outage) via a long (1) header or (2) URI that is matched against an improper regular expression.

Publish Date: 2016-04-13

URL: CVE-2016-2515

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://nvd.nist.gov/vuln/detail/CVE-2016-2515

Release Date: 2016-04-13

Fix Resolution: 3.1.3,4.1.1

WS-2018-0590 (High) detected in diff-1.4.0.tgz

WS-2018-0590 - High Severity Vulnerability

Vulnerable Library - diff-1.4.0.tgz

A javascript text diff implementation.

Library home page: https://registry.npmjs.org/diff/-/diff-1.4.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/diff/package.json

Dependency Hierarchy:

  • mocha-2.5.3.tgz (Root Library)
    • diff-1.4.0.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

A vulnerability was found in diff before v3.5.0, the affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.

Publish Date: 2018-03-05

URL: WS-2018-0590

CVSS 2 Score Details (7.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: kpdecker/jsdiff@2aec429

Release Date: 2019-06-11

Fix Resolution: 3.5.0

CVE-2021-31597 (High) detected in xmlhttprequest-ssl-1.5.3.tgz

CVE-2021-31597 - High Severity Vulnerability

Vulnerable Library - xmlhttprequest-ssl-1.5.3.tgz

XMLHttpRequest for Node

Library home page: https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/xmlhttprequest-ssl/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz
      • socket.io-client-1.7.3.tgz
        • engine.io-client-1.8.3.tgz
          • xmlhttprequest-ssl-1.5.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

The xmlhttprequest-ssl package before 1.6.1 for Node.js disables SSL certificate validation by default, because rejectUnauthorized (when the property exists but is undefined) is considered to be false within the https.request function of Node.js. In other words, no certificate is ever rejected.

Publish Date: 2021-04-23

URL: CVE-2021-31597

CVSS 3 Score Details (9.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31597

Release Date: 2021-04-23

Fix Resolution: xmlhttprequest-ssl - 1.6.1

CVE-2021-23807 (Medium) detected in jsonpointer-4.1.0.tgz

CVE-2021-23807 - Medium Severity Vulnerability

Vulnerable Library - jsonpointer-4.1.0.tgz

Simple JSON Addressing.

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

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/jsonpointer/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • request-2.55.0.tgz
        • har-validator-1.8.0.tgz
          • is-my-json-valid-2.20.5.tgz
            • jsonpointer-4.1.0.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

This affects the package jsonpointer before 5.0.0. A type confusion vulnerability can lead to a bypass of a previous Prototype Pollution fix when the pointer components are arrays.

Publish Date: 2021-11-03

URL: CVE-2021-23807

CVSS 3 Score Details (5.5)

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23807

Release Date: 2021-11-03

Fix Resolution: jsonpointer - 5.0.0

CVE-2017-16113 (High) detected in parsejson-0.0.3.tgz

CVE-2017-16113 - High Severity Vulnerability

Vulnerable Library - parsejson-0.0.3.tgz

Method that parses a JSON string and returns a JSON object

Library home page: https://registry.npmjs.org/parsejson/-/parsejson-0.0.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/parsejson/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz
      • socket.io-client-1.7.3.tgz
        • engine.io-client-1.8.3.tgz
          • parsejson-0.0.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

The parsejson module is vulnerable to regular expression denial of service when untrusted user input is passed into it to be parsed.

Publish Date: 2018-06-07

URL: CVE-2017-16113

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.

CVE-2018-3728 (High) detected in hoek-2.16.3.tgz

CVE-2018-3728 - High Severity Vulnerability

Vulnerable Library - hoek-2.16.3.tgz

General purpose node utilities

Library home page: https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/hoek/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • request-2.55.0.tgz
        • hawk-2.3.1.tgz
          • hoek-2.16.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

hoek node module before 4.2.0 and 5.0.x before 5.0.3 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via 'merge' and 'applyToDefaults' functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.

Publish Date: 2018-03-30

URL: CVE-2018-3728

CVSS 3 Score Details (8.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2018-3728

Release Date: 2018-03-30

Fix Resolution: 4.2.1,5.0.3

CVE-2020-28502 (High) detected in xmlhttprequest-ssl-1.5.3.tgz

CVE-2020-28502 - High Severity Vulnerability

Vulnerable Library - xmlhttprequest-ssl-1.5.3.tgz

XMLHttpRequest for Node

Library home page: https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/xmlhttprequest-ssl/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz
      • socket.io-client-1.7.3.tgz
        • engine.io-client-1.8.3.tgz
          • xmlhttprequest-ssl-1.5.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (async=False on xhr.open), malicious user input flowing into xhr.send could result in arbitrary code being injected and run.

Publish Date: 2021-03-05

URL: CVE-2020-28502

CVSS 3 Score Details (8.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-h4j5-c7cj-74xg

Release Date: 2021-03-05

Fix Resolution: xmlhttprequest - 1.7.0,xmlhttprequest-ssl - 1.6.2

CVE-2015-9251 (Medium) detected in jquery-1.7.1.min.js

CVE-2015-9251 - Medium Severity Vulnerability

Vulnerable Library - jquery-1.7.1.min.js

JavaScript library for DOM operations

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js

Path to dependency file: node-kms/node_modules/vm-browserify/example/run/index.html

Path to vulnerable library: /node_modules/vm-browserify/example/run/index.html

Dependency Hierarchy:

  • jquery-1.7.1.min.js (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

jQuery before 3.0.0 is vulnerable to Cross-site Scripting (XSS) attacks when a cross-domain Ajax request is performed without the dataType option, causing text/javascript responses to be executed.

Publish Date: 2018-01-18

URL: CVE-2015-9251

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2015-9251

Release Date: 2018-01-18

Fix Resolution: jQuery - v3.0.0

CVE-2018-1000620 (High) detected in cryptiles-2.0.5.tgz

CVE-2018-1000620 - High Severity Vulnerability

Vulnerable Library - cryptiles-2.0.5.tgz

General purpose crypto utilities

Library home page: https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/cryptiles/package.json

Dependency Hierarchy:

  • karma-sauce-launcher-0.2.14.tgz (Root Library)
    • wd-0.3.12.tgz
      • request-2.55.0.tgz
        • hawk-2.3.1.tgz
          • cryptiles-2.0.5.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Eran Hammer cryptiles version 4.1.1 earlier contains a CWE-331: Insufficient Entropy vulnerability in randomDigits() method that can result in An attacker is more likely to be able to brute force something that was supposed to be random.. This attack appear to be exploitable via Depends upon the calling application.. This vulnerability appears to have been fixed in 4.1.2.

Publish Date: 2018-07-09

URL: CVE-2018-1000620

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-1000620

Release Date: 2018-07-09

Fix Resolution: v4.1.2

CVE-2020-36048 (High) detected in engine.io-1.8.3.tgz

CVE-2020-36048 - High Severity Vulnerability

Vulnerable Library - engine.io-1.8.3.tgz

The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server

Library home page: https://registry.npmjs.org/engine.io/-/engine.io-1.8.3.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/engine.io/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • socket.io-1.7.3.tgz
      • engine.io-1.8.3.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

Engine.IO before 4.0.0 allows attackers to cause a denial of service (resource consumption) via a POST request to the long polling transport.

Publish Date: 2021-01-08

URL: CVE-2020-36048

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-36048

Release Date: 2021-01-08

Fix Resolution: engine.io - 4.0.0

CVE-2020-28469 (High) detected in glob-parent-2.0.0.tgz

CVE-2020-28469 - High Severity Vulnerability

Vulnerable Library - glob-parent-2.0.0.tgz

Strips glob magic from a string to provide the parent path

Library home page: https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz

Path to dependency file: node-kms/package.json

Path to vulnerable library: node-kms/node_modules/glob-parent/package.json

Dependency Hierarchy:

  • karma-1.7.1.tgz (Root Library)
    • chokidar-1.7.0.tgz
      • glob-parent-2.0.0.tgz (Vulnerable Library)

Found in HEAD commit: 0174d52c9bbe1d27d5a8e0359134e9ffdbe6db6f

Found in base branch: master

Vulnerability Details

This affects the package glob-parent before 5.1.2. The enclosure regex used to check for strings ending in enclosure containing path separator.

Publish Date: 2021-06-03

URL: CVE-2020-28469

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28469

Release Date: 2021-06-03

Fix Resolution: glob-parent - 5.1.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.