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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:compile-sass_project:compile-sass:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "d9ada7797ff93875b6466dea7a78768e90a0f8d2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}