CVE Vulnerabilities

CVE-2017-12964

Uncontrolled Recursion

Published: Aug 18, 2017 | Modified: Apr 20, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
7.8 HIGH
AV:N/AC:L/Au:N/C:N/I:N/A:C
RedHat/V2
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

There is a stack consumption issue in LibSass 3.4.5 that is triggered in the function Sass::Eval::operator() in eval.cpp. It will lead to a remote denial of service attack.

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
LibsassLibsass3.4.5 (including)3.4.5 (including)
LibsassUbuntuartful*
LibsassUbuntubionic*
LibsassUbuntucosmic*
LibsassUbuntudisco*
LibsassUbuntueoan*
LibsassUbuntuesm-apps/bionic*
LibsassUbuntuesm-apps/focal*
LibsassUbuntuesm-apps/jammy*
LibsassUbuntuesm-apps/noble*
LibsassUbuntuesm-apps/xenial*
LibsassUbuntufocal*
LibsassUbuntugroovy*
LibsassUbuntuhirsute*
LibsassUbuntuimpish*
LibsassUbuntujammy*
LibsassUbuntukinetic*
LibsassUbuntulunar*
LibsassUbuntumantic*
LibsassUbuntunoble*
LibsassUbuntuoracular*
LibsassUbuntuupstream*
LibsassUbuntuxenial*
LibsassUbuntuzesty*

Potential Mitigations

References