Stack-based buffer overflow in LibSass - CVE-2018-19837

 

Stack-based buffer overflow in LibSass - CVE-2018-19837

Published: December 4, 2018 / Updated: December 4, 2018


Vulnerability identifier: #VU16232
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2018-19837
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Sass
Affected software:
LibSass

Detailed vulnerability description

The vulnerability allows a remote attacker to cause DoS condition.

The vulnerability exists due to stack-based buffer overflow in Sass::Eval::operator()(Sass::Binary_Expression*) inside eval.cpp when incorrect parsing of '%' as a modulo operator in parser.cpp. A remote attacker can send a specially crafted sass file, trigger memory corruption and cause the service to crash.


How to mitigate CVE-2018-19837

Update to version 3.5.5.

Sources