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

Medium 6.5 Published Updated

Attackers can cause a denial of service via stack consumption in LibSass by providing a crafted Sass file with recursive calls.

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-19838?

CVE-2018-19838 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, functions inside ast.cpp for IMPLEMENT_AST_OPERATORS expansion allow attackers to cause a denial-of-service resulting from stack consumption via a crafted sass file, as demonstrated by recursive calls involving clone(), cloneChildren(), and copy().

Weakness: CWE-400

Which versions are affected by CVE-2018-19838?

It affects 1 product.

Products include Sass-Lang Libsass.

How do I fix CVE-2018-19838?

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-19838 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-19838, GHSA-wjrc-f8qw-j9q6, UBUNTU-CVE-2018-19838.

Is CVE-2018-19838 in your software?

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

Check your SBOMs for free