Advisory

GHSA-79qm-h35f-hr77

Also known as: CVE-2019-10799, SNYK-JS-COMPILESASS-551804

Summary

OS Command Injection in compile-sass

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-04-13 15:23 UTC
Modified
2026-07-08 05:56 UTC

Affected packages and fixes

compile-sass

npm · All systems

Affected

  • introduced 0, fixed 1.0.5 (semver)

Fixed versions

1.0.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences