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

[Bug] CVE-2023-26115 #579

Open
1 task
emilorol opened this issue Jun 28, 2023 · 0 comments
Open
1 task

[Bug] CVE-2023-26115 #579

emilorol opened this issue Jun 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@emilorol
Copy link

What version of vite are you using?

4.3.9

System info and storybook versions

System:
OS: macOS 13.4.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
Node: 20.2.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.6.6 - /usr/local/bin/npm
Browsers:
Chrome: 114.0.5735.198
Safari: 16.5.1
npmPackages:
@storybook/addon-essentials: ^7.0.24 => 7.0.24
@storybook/core-common: ^7.0.24 => 7.0.24
@storybook/core-server: ^7.0.24 => 7.0.24
@storybook/react-vite: ^7.0.24 => 7.0.24

Describe the Bug

CVE-2023-26115

$ yarn audit

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ moderate      │ word-wrap vulnerable to Regular Expression Denial of Service │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ word-wrap                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ No patch available                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @storybook/react-vite                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ @storybook/react-vite > @storybook/react > escodegen >       │
│               │ optionator > word-wrap                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/1092330                     │
└───────────────┴──────────────────────────────────────────────────────────────┘

Temp Solution before a fix for yarn in your package.json:

  "resolutions": {
    "**/optionator": "^0.9.3"
  }

Link to Minimal Reproducible Example

No response

Participation

  • I am willing to submit a pull request for this issue.
@emilorol emilorol added the bug Something isn't working label Jun 28, 2023
@emilorol emilorol changed the title [Bug] [Bug] CVE-2023-26115 Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant