Critical, CVSS 9.8npmAmendedPublished
OS Command Injection in compile-sass
CVE-2019-10799 · GHSA-79qm-h35f-hr77
- Affected
- npm compile-sass < 1.0.5
- Fixed in
- 1.0.5· Vendor fix available
- Issue
- compile-sass prior to 1.0.5 allows execution of arbritary commands. The function "setupCleanupOnExit(cssPath)" within "dist/index.js" is executed as part of the "rm" command without any sanitization.
Recommended action: Upgrade to 1.0.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.