PT-2020-9150

CVE-2019-10799

·

Published

2020-02-24

·

Updated

2022-01-01

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions compile-sass versions prior to 1.0.5
Description The issue allows execution of arbitrary commands. The function setupCleanupOnExit(cssPath) within dist/index.js is executed as part of the rm command without any sanitization.
Recommendations For versions prior to 1.0.5, update to version 1.0.5 or later to resolve the issue. As a temporary workaround, consider disabling the setupCleanupOnExit(cssPath) function until a patch is available. Restrict access to the dist/index.js file to minimize the risk of exploitation. Avoid using the rm command with unsanitized input in the affected versions until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-79QM-H35F-HR77
SNYK-JS-COMPILESASS-551804
Found an issue in the description? Have something to add? Feel free to write us 👾