-
Notifications
You must be signed in to change notification settings - Fork 1.3k
sass-graph should be updated to version 3 #2863
Comments
This will happen in v5
…On Tue, 17 Mar 2020, 9:33 pm Christophe Coevoet, ***@***.***> wrote:
node-sass currently depends on sass-graph 2.2.4. This version depends on a
version of yargs which gets reported as a security vulnerability by Snyk.
It would be great to update to the maintained version of sass-graph rather
than using this old version.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2863>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAENSWE5M4MDFUIF5FK7N5DRH5GWHANCNFSM4LNITCIQ>
.
|
is there any estimate for when v5 will be ready ? It seems to be in progress since at least 2 years. |
We have a similar issue on our veracode scan. It would really help us if you can provide an estimate on when v5 is in teh pipeline |
If this is really an issue for your CI environment I recommend opening a PR against the sass-graph v2 branch (https://github.com/xzyfer/sass-graph/tree/v2) to bump the vulnerable dependencies. |
hmm, due to node-sass needing to support old node.js versions in its v4 version, upgrading yargs in sass-graph v2 won't work. Yargs 8 requires Node 4+ and yargs 12 requires Node 6+, while getting a version in which the vulnerability is patched requires upgrading at least to yargs 13. |
Just making sure I understand what @stof is getting at. Since the same security vulnerability is being reported by a bunch of different scans. These vulnerabilities do not exist in the files/code generated by node-sass right? For instance, the CSS which is output from the pre-processing? I can't see how it would. It should only be a security hole if you are actively running this package somewhere, right? I guess running build steps in the cloud is where it could happen? |
@henry-chris yes. The security issue is in the CLI runner. If that CLI runner is not deployed to your servers but kept as a dev requirement used in your build process, your prod servers will be fine. |
Separate from the v3 upgrade, but #2915 will have a patch for yargs only |
Fixed in v4.14.1 |
node-sass currently depends on sass-graph 2.2.4. This version depends on a version of yargs which gets reported as a security vulnerability by Snyk.
It would be great to update to the maintained version of sass-graph rather than using this old version.
The text was updated successfully, but these errors were encountered: