Resource exhaustion in Sass-Lang Libsass
CVE-2018-19837
In LibSass prior to 3.5.5, Sass::Eval::operator()(Sass::Binary_Expression*) inside eval.cpp allows attackers to cause a denial-of-service resulting from stack consumption via a crafted sass file, because of certain incorrect parsing of '%' as a modulo operator in parser.cpp.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.018, 78.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (ICSE2020-MemLock/MemLock_Benchmark, SZU-SE/MemLock_Benchmark, SZU-SE/Stack-overflow-Fuzzer-TestSuite, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/sass/libsass/issues/2659 (Patch, Vendor Advisory)
- github.com/sass/libsass/commit/210fdff7a65370c2ae24e022a2b35da8c423cc5f (Exploit, Third Party Advisory)
- openSUSE-SU-2019:1791 (vendor-advisory)
- openSUSE-SU-2019:1800 (vendor-advisory)
- openSUSE-SU-2019:1883 (vendor-advisory)