Uncontrolled Recursion Affecting node-sass package, versions <4.8.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NODESASS-535503
  • published25 Nov 2019
  • disclosed23 Jul 2017
  • creditUnknown

Introduced: 23 Jul 2017

CVE-2017-11556  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade node-sass to version 4.8.0 or higher.

Overview

node-sass is a Node.js bindings package for libsass.

Affected versions of this package are vulnerable to Uncontrolled Recursion. There is a stack consumption vulnerability in the Parser::advanceToNextToken function in parser.cpp in LibSass 3.4.5. A crafted input may lead to remote denial of service. node-sass is affected by this vulnerability due to its bundled usage of libsass.

CVSS Scores

version 3.1