Buffer Overflow Affecting sass/libsass package, versions [,3.6.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.27% (68th 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-UNMANAGED-SASSLIBSASS-2364467
  • published26 Jan 2022
  • disclosed23 Apr 2019
  • creditUnknown

Introduced: 23 Apr 2019

CVE-2018-20821  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade sass/libsass to version 3.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. The parsing component in LibSass through 3.5.5 allows attackers to cause a denial-of-service (uncontrolled recursion in Sass::Parser::parse_css_variable_value in parser.cpp).

References

CVSS Base Scores

version 3.1