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

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

Name Vendor Start Version End Version
Libsass Sass-lang * 3.5.5 (including)
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 upstream *

Potential Mitigations

References