Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.8.5 high severity vuln #1104

Closed
asbrum opened this issue Sep 28, 2022 · 2 comments
Closed

0.8.5 high severity vuln #1104

asbrum opened this issue Sep 28, 2022 · 2 comments

Comments

@asbrum
Copy link

asbrum commented Sep 28, 2022

Node version (or tell us if you're using electron or some other framework):

v. 16.14.0

ShellJS version (the most recent version/Github branch you see the bug on):

0.8.4, 0.8.5

Operating system:

windows

Description of the bug:

npm package usage blocked by vulnerability provider Sonatype OSS Index

https://ossindex.sonatype.org/vulnerability/sonatype-2014-0038?component-type=npm&component-name=shelljs&utm_source=proget&utm_medium=integration&utm_content=22.0.9.2

sonatype_shelljs

@nfischer
Copy link
Member

Hey, thanks for notifying me about this. That security report on sonatype is a false positive and this is not a security vulnerability in ShellJS. Please see the statement I made here and here.

shell.exec() is designed to allow arbitrary command execution. It is the responsibility of the caller to use shell.exec() responsibly and to sanitize user inputs.

@nfischer
Copy link
Member

Duplicate of issue #945.

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

No branches or pull requests

2 participants