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

Vulnerability in storybookjs / storybook with lodash 4.17.20 #16881

Closed
leakhand opened this issue Dec 3, 2021 · 2 comments
Closed

Vulnerability in storybookjs / storybook with lodash 4.17.20 #16881

leakhand opened this issue Dec 3, 2021 · 2 comments

Comments

@leakhand
Copy link

leakhand commented Dec 3, 2021

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20. Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.

What is expected?
Update lodash to 4.17.21

What is actually happening?
Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions. WhiteSource Note: After conducting further research, WhiteSource has determined that CVE-2020-28500 only affects environments with versions 4.0.0 to 4.17.20 of Lodash.

@shilman
Copy link
Member

shilman commented Dec 3, 2021

Huzzah!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.4.5 containing PR #16883 that references this issue. Upgrade today to the @latest NPM tag to try it out!

npx sb upgrade

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

@shilman shilman closed this as completed Dec 3, 2021
@shilman
Copy link
Member

shilman commented Dec 9, 2021

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

npx sb upgrade --prerelease

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