CVE-2018-19837 Denial of service in n/a

Medium 6.5 Published Updated

Attackers can cause denial of service via stack consumption by submitting a crafted Sass file to applications using LibSass.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-19837?

CVE-2018-19837 is a medium-severity denial of service vulnerability in n/a, published on 4 Dec 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-400

Which versions are affected by CVE-2018-19837?

It affects 1 product.

Products include Sass-Lang Libsass.

How do I fix CVE-2018-19837?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-19837 being exploited?

There is no known exploitation of CVE-2018-19837 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-19837, GHSA-c774-r78g-7qj4, UBUNTU-CVE-2018-19837.

Is CVE-2018-19837 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free