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

Upgrade 'css-what' to fix high severity vulnerability #1003

Closed
webinarium opened this issue Jun 17, 2021 · 1 comment
Closed

Upgrade 'css-what' to fix high severity vulnerability #1003

webinarium opened this issue Jun 17, 2021 · 1 comment

Comments

@webinarium
Copy link

The css-what library contains "Denial of Service" vulnerability, which has been fixed as of 5.0.1.
Could you please upgrade the webpack-encore dependencies as advised below.

Severity: High
Vulnerability: Denial of Service
Package: css-what
Patched in: >=5.0.1
Dependency of: @symfony/webpack-encore [dev]
Path: @symfony/webpack-encore > css-minimizer-webpack-plugin > cssnano > cssnano-preset-default > postcss-svgo > svgo > css-select > css-what
More info: https://npmjs.com/advisories/1754

@Lyrkan
Copy link
Collaborator

Lyrkan commented Jun 18, 2021

Hello @webinarium,

As you can see in the path you provided this is not a direct dependency of Encore.

The issue is that the latest version of svgo (2.3.0) relies on css-select@^3.1.2 which then requires css-what@^4.0.0.

There is a PR on svgo to update to css-select@^4.1.3 here: svg/svgo#1485
We can't do anything but wait for it to get merged.

Note that this vulnerability should not be that critical unless you're doing some really exotic stuff.

@Lyrkan Lyrkan closed this as completed Jun 18, 2021
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

2 participants