rollup-plugin-styles icon indicating copy to clipboard operation
rollup-plugin-styles copied to clipboard

posibility of a 3.14.2 release for rollup-plugin-styles with less strict cssnano version dependency

Open bestrivens001 opened this issue 4 years ago • 2 comments

Hi, @izevo @Anidetrix,

Issue Description

I noticed that a vulnerability is introduced in [email protected]: Vulnerability CVE-2021-33587 affects package css-what (versions:<5.0.1): https://snyk.io/vuln/SNYK-JS-CSSWHAT-1298035 The above vulnerable package is referenced by [email protected] via: [email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected]

Since [email protected] (13,494 downloads per week) is referenced by 27 downstream projects (e.g., padl 1.0.3 (latest version), microsite 1.2.2-next.0 (latest version), @quilted/sewing-kit-plugins 0.2.29 (latest version), snowpack-plugin-rollup-bundle 0.4.4 (latest version), @hashicorp/sentinel-codemirror 0.0.8 (latest version)), the vulnerability CVE-2021-33587 can be propagated into these downstream projects and expose security threats to them via the following package dependency paths: (1)@gem-mine/[email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected] (2)[email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected] âž” [email protected] ......

If [email protected].* removes the vulnerable package from the above version, then its fixed version can help downstream users decrease their pain.

Given the large number of downstream users, could you help update your package to remove the vulnerability from [email protected] ?

Fixing suggestions

In [email protected], maybe you can kindly try to perform the following upgrade : cssnano ^4.1.10 âž” ^5.0.0;

Note: [email protected](>=5.0.0-rc.0) transitively depends on [email protected] which has fixed the vulnerability CVE-2021-33587

Thank you for your attention to this issue and welcome to share other ways to resolve the issue.

Best regards, ^_^

bestrivens001 avatar Sep 02 '21 06:09 bestrivens001

@Anidetrix I see that [email protected] has been updated in main branch, can you release a new npm version?

zhihuahuang avatar Sep 04 '21 03:09 zhihuahuang

I would love a new release as well. Is this something I can help with?

peschee avatar Nov 08 '21 12:11 peschee