Advisory

GHSA-9v62-24cr-58cx

Also known as: None

Summary

Denial of Service in node-sass

Details

Affected versions of node-sass are vulnerable to Denial of Service (DoS). Crafted objects passed to the renderSync function may trigger C++ assertions in CustomImporterBridge::get_importer_entry and CustomImporterBridge::post_process_return_value that crash the Node process. This may allow attackers to crash the system's running Node process and lead to Denial of Service.

Recommendation

Upgrade to version 4.13.1 or later

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-09-11 21:12 UTC
Modified
2021-09-28 16:08 UTC

Affected packages and fixes

node-sass

npm · All systems

Affected

  • introduced 3.3.0, fixed 4.13.1 (semver)

Fixed versions

4.13.1

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