CVE-2018-20822
libsass: DoS in Sass::Complex_Selector::perform in ast.hpp and Sass::Inspect::operator in inspect.cpp
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · June 3, 2018
Updated · November 22, 2025
Description
LibSass 3.5.4 allows attackers to cause a denial-of-service (uncontrolled recursion in Sass::Complex_Selector::perform in ast.hpp and Sass::Inspect::operator in inspect.cpp).
Statement
This issue did not affect the versions of libsass as shipped with Red Hat Enterprise Linux 8 as the flaw was introduced in a newer version of the library.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-674 · Uncontrolled Recursion