CVE Vulnerabilities

CVE-2018-20822

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

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

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

Name Vendor Start Version End Version
Libsass Sass-lang 3.5.4 (including) 3.5.4 (including)
Libsass Ubuntu bionic *
Libsass Ubuntu cosmic *
Libsass Ubuntu disco *
Libsass Ubuntu eoan *
Libsass Ubuntu groovy *
Libsass Ubuntu hirsute *
Libsass Ubuntu impish *
Libsass Ubuntu kinetic *
Libsass Ubuntu lunar *
Libsass Ubuntu mantic *
Libsass Ubuntu xenial *

Potential Mitigations

References