You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a security vulnerability in the ws package. The issue was discovered while running the Node Security Platform CLI utility as part of a continuous integration build.
yarn run v1.3.2
$ ./node_modules/.bin/nsp check
(+) 1 vulnerabilities found
┌───────────────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ Denial of Service │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Name │ ws │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ CVSS │ 7.5 (High) │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Installed │ 2.3.1 │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable │ <3.3.1 │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched │ >= 3.3.1 │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Path │ connect-js@1.0.0 > webpack-bundle-analyzer@2.9.0 > ws@2.3.1 │
├───────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ More Info │ https://nodesecurity.io/advisories/550 │
└───────────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Technical info
Webpack Bundle Analyzer version: 2.3.1
Webpack version: 1.14.0
Node.js version: 8.9.1
npm/yarn version: 1.3.2
OS: macOS Sierra / Ubuntu
Debug info
How do you use this module? As CLI utility or as plugin?
CLI utility
If CLI, what command was used? (e.g. webpack-bundle-analyzer -O path/to/stats.json)
If plugin, what options were provided? (e.g. new BundleAnalyzerPlugin({ analyzerMode: 'disabled', generateStatsFile: true }))
What other Webpack plugins were used?
None.
It would be nice to also attach webpack stats file.
It can be generated using these options:
newBundleAnalyzerPlugin({analyzerMode: 'disabled',generateStatsFile: true,// Excludes module sources from stats file so there won't be any sensitive datastatsOptions: {source: false}})`
stats.json will be created in Webpack bundle output directory.
The text was updated successfully, but these errors were encountered:
If I looked at the vulnerability correctly, it was about there being a Denial-of-Service bug in ws. As webpack-bundle-analyzer is a development-only tool, this isn't as severe as it could be.
Issue description
There seems to be a security vulnerability in the
ws
package. The issue was discovered while running the Node Security Platform CLI utility as part of a continuous integration build.Technical info
Debug info
How do you use this module? As CLI utility or as plugin?
CLI utility
If CLI, what command was used? (e.g.
webpack-bundle-analyzer -O path/to/stats.json
)If plugin, what options were provided? (e.g.
new BundleAnalyzerPlugin({ analyzerMode: 'disabled', generateStatsFile: true })
)What other Webpack plugins were used?
None.
It would be nice to also attach webpack stats file.
It can be generated using these options:
stats.json
will be created in Webpack bundle output directory.The text was updated successfully, but these errors were encountered: