-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Bug]: semver vulnerability in @storybook/manager-webpack5 #23547
Comments
I don't think that we can fix this just now -- it looks like the most recent version of |
Thanks for the heads up! Also, when we do get a chance to fix this, it's likely that the fix will only be available in 7.x |
@yannbf at some point recently you mentioned setting up some sandboxes outside of the monorepo. would you also be able to set up snyk or something similar on that repo to catch stuff like this automatically? as i recall there are reasons we don't want it on the monorepo (@ndelangen can say more) but i think having it on a satellite sandbox-style repo should be useful |
Well normally there's nothing we can really about transitive dependencies. Do we want to get notifications we can't do anything about? When security issues happen, very those dependencies of storybook are in version ranges, that allow users to pick the newest releases without our intervention/release to happen. |
After update to storybook 7.1.0, the only package causing this vulnerability is [email protected] which uses [email protected] |
Which we're on the latest version of: storybook/code/lib/cli/package.json Line 92 in 7e0dabc
|
no it's not on the latest version, [email protected] still have [email protected]. The update is on this PR which have been merged to storybookjs:next 5 hours ago. So it's not in the [email protected] release |
Closing this as completed in #23547. The fix will be released with 7.2.0 |
Describe the bug
Currently,
@storybook/manager-webpack5
has a transitive dependency onsemver@^5.6.0
This version of semver has an outstanding CVE against it
Weaknesses
CWE-1333
CVE ID
CVE-2022-25883
GHSA ID
GHSA-c2qf-rxjj-qqgw
To Reproduce
» npm init --yes » npm i -S @storybook/manager-webpack5 » npx snyk test
Note that we are getting our error report via Dependabot, rather than snyk, but this was the minimal repro I could come up with -- I didn't want to file a repro that required setting up a github repository.
System
Environment Info: System: OS: macOS 13.4.1 CPU: (8) arm64 Apple M1 Binaries: Node: 18.14.1 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.3.1 - /usr/local/bin/npm Browsers: Chrome: 115.0.5790.98 Safari: 16.5.2 npmPackages: @storybook/manager-webpack5: ^6.5.16 => 6.5.16
Additional context
This is loosely connected to #23546
The text was updated successfully, but these errors were encountered: