CVE Vulnerabilities

CVE-2018-20821

Uncontrolled Recursion

Published: Apr 23, 2019 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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).

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

NameVendorStart VersionEnd Version
LibsassSass-lang*3.5.5 (including)
LibsassUbuntucosmic*
LibsassUbuntudisco*
LibsassUbuntueoan*
LibsassUbuntugroovy*
LibsassUbuntuhirsute*
LibsassUbuntuimpish*
LibsassUbuntukinetic*
LibsassUbuntulunar*
LibsassUbuntumantic*
LibsassUbuntuupstream*

Potential Mitigations

References