Skip to content

WS-2017-3737 (Medium) detected in shelljs-0.3.0.tgz, shelljs-0.7.6.tgz - autoclosed #47

@mend-for-github-com

Description

@mend-for-github-com

WS-2017-3737 - Medium Severity Vulnerability

Vulnerable Libraries - shelljs-0.3.0.tgz, shelljs-0.7.6.tgz

shelljs-0.3.0.tgz

Portable Unix shell commands for Node.js

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

Path to dependency file: /justapis-javascript-sdk/package.json

Path to vulnerable library: /tmp/git/justapis-javascript-sdk/node_modules/jshint/node_modules/shelljs/package.json

Dependency Hierarchy:

  • grunt-contrib-jshint-0.11.3.tgz (Root Library)
    • jshint-2.8.0.tgz
      • shelljs-0.3.0.tgz (Vulnerable Library)
shelljs-0.7.6.tgz

Portable Unix shell commands for Node.js

Library home page: https://registry.npmjs.org/shelljs/-/shelljs-0.7.6.tgz

Path to dependency file: /justapis-javascript-sdk/package.json

Path to vulnerable library: /tmp/git/justapis-javascript-sdk/node_modules/shelljs/package.json

Dependency Hierarchy:

  • commitizen-2.10.1.tgz (Root Library)
    • shelljs-0.7.6.tgz (Vulnerable Library)

Found in HEAD commit: 3ca192403e92db3173fd513bbb67c49050b748e7

Vulnerability Details

Shelljs 0.8.3 and before are vulnerable to Command Injection. Commands can be invoked from shell.exec(), those commands will include input from external sources, to be passed as arguments to system executables and allowing an attacker to inject arbitrary commands.

Publish Date: 2019-06-16

URL: WS-2017-3737

CVSS 2 Score Details (5.5)

Base Score Metrics not available


Step up your Open Source Security Game with WhiteSource here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions