GitHub Advisoryadvisory · npm
GHSA-79qm-h35f-hr77 OS Command Injection in compile-sass
HIGH
Official page ↗
- Aliases
- CVE-2019-10799
- Ecosystem
- npm
- Packages
- compile-sass
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2021-04-08
Affected packages
• npm compile-sass: < 1.0.5 → fixed in 1.0.5
Description
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.
Related
Alias · CVE (1)
- CVE-2019-10799 compile-sass prior to 1.0.5 allows execution of arbritary commands. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-10799 advisory
- https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2 web
- https://github.com/eiskalteschatten/compile-sass package
- https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804 web
- https://snyk.io/vuln/SNYK-JS-RPI-548942 web