Bug 1425807 - nodejs-shelljs: Command injection via shell.exec() call
Summary: nodejs-shelljs: Command injection via shell.exec() call
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1425810 1425809
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-22 13:40 UTC by Andrej Nemec
Modified: 2020-11-05 10:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:08:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-02-22 13:40:15 UTC
shelljs is a portable Unix shell commands for Node.js. It is possible to invoke commands from shell.exec() from external sources, allowing an attacker to inject arbitrary commands.

References:

https://snyk.io/vuln/npm:shelljs:20140723

Upstream bugs:

https://github.com/shelljs/shelljs/issues/143
https://github.com/shelljs/shelljs/issues/495

Upstream patch:

https://github.com/shelljs/shelljs/pull/524/commits/2f18dc4e4cbbc1d22d9e80ed8ce9d222db0b62f5

Comment 1 Andrej Nemec 2017-02-22 13:40:57 UTC
Created nodejs-shelljs tracking bugs for this issue:

Affects: epel-all [bug 1425810]
Affects: fedora-all [bug 1425809]

Comment 2 Product Security DevOps Team 2019-06-08 03:08:01 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.