HIGH
compile-sass prior to 1.0.5 allows execution of arbritary commands
Published Feb 24, 2020
9.8
HIGHCVSS 3.1
EPSS 2.27%
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.
Affected products
- Vendor n/a Product Compile-Sass Defaultn/a
- Version All versions prior to 1.0.5StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Compile-Sass | n/a |
|
- < 1.0.5
No data.
No Red Hat product state for this CVE.
compile-sass
npm
Introduced 0 Fixed 1.0.5
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | compile-sass | 0 | 1.0.5 |
Remediation
No remediation recorded yet.
Weaknesses (1)
References (5)
- https://github.com/advisories/GHSA-79qm-h35f-hr77 Advisory
- https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-10799
- https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804 x_refsource_MISCExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-RPI-548942
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-79qm-h35f-hr77 | Advisory | |
| https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2 | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-10799 | ||
| https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804 | x_refsource_MISCExploitThird Party Advisory | |
| https://snyk.io/vuln/SNYK-JS-RPI-548942 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner snyk
Published Feb 24, 2020
Updated Aug 4, 2024
Reserved Apr 3, 2019
Link CVE-2019-10799
CISA Vulnrichment
GHSA-79QM-H35F-HR77 Updated n/a