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.
References
Link | Resource |
---|---|
https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804 | Exploit Third Party Advisory |
Configurations
Information
Published : 2020-02-24 10:15
Updated : 2022-01-01 11:27
NVD link : CVE-2019-10799
Mitre link : CVE-2019-10799
JSON object : View
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Products Affected
compile-sass_project
- compile-sass