CVE Vulnerabilities

CVE-2018-19826

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Dec 03, 2018 | Modified: Apr 11, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.0/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
Ubuntu

In inspect.cpp in LibSass 3.5.5, a high memory footprint caused by an endless loop (containing a Sass::Inspect::operator()(Sass::String_Quoted*) stack frame) may cause a Denial of Service via crafted sass input files with stray & or / characters. NOTE: Upstream comments indicate this issue is closed as wont fix and works as intended by design

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Libsass Sass-lang 3.5.5 (including) 3.5.5 (including)

References