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

shelljs is vulnerable to Improper Privilege Management #17312

Closed
daybydae opened this issue Jan 21, 2022 · 3 comments
Closed

shelljs is vulnerable to Improper Privilege Management #17312

daybydae opened this issue Jan 21, 2022 · 3 comments

Comments

@daybydae
Copy link

This came up today on a project I'm working on.
Looks to be pretty new.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0144

@AlanGreene
Copy link

$ npm ls shelljs
…
└─┬ @storybook/storybook-deployer@2.8.10
  └── shelljs@0.8.5

That vulnerability was fixed in shelljs 0.8.5 and as you can see that's the version I'm seeing in my environment. You may just need to update your dependencies.

@ashishjpm
Copy link

shelljs version 0.8.4 is used with latest version(6.4.19) of @storybook/cli".
This is causing the same vulnerable issue with my project too.
CVE-2022-0144 High severity Vulnerable versions: < 0.8.5. shelljs is vulnerable to Improper Privilege Management

@shilman
Copy link
Member

shilman commented Mar 9, 2022

Huzzah!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.0-alpha.47 containing PR #17602 that references this issue. Upgrade today to the @next NPM tag to try it out!

npx sb upgrade --prerelease

Closing this issue. Please re-open if you think there's still more to do.

@shilman shilman closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants