GHSA-79qm-h35f-hr77

Suggest an improvement
Source
https://github.com/advisories/GHSA-79qm-h35f-hr77
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-79qm-h35f-hr77/GHSA-79qm-h35f-hr77.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-79qm-h35f-hr77
Aliases
Published
2021-04-13T15:23:13Z
Modified
2024-08-16T03:11:46.438884Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

References

Affected packages

npm / compile-sass

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.5