high9.8
CVE-2019-10799
OS Command Injection in compile-sass
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | compile-sass | < 1.0.5 | 1.0.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Compile-Sass Project | Compile-Sass | before 1.0.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2
- https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804
- https://github.com/advisories/GHSA-79qm-h35f-hr77
- https://nvd.nist.gov/vuln/detail/CVE-2019-10799
- https://snyk.io/vuln/SNYK-JS-RPI-548942