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

Medium 6.5 Published Updated

Crafted Sass input files can trigger an endless loop in LibSass, causing a denial of service via high memory consumption.

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
None listed

What is CVE-2018-19826?

CVE-2018-19826 is a medium-severity denial of service vulnerability in n/a, published on 3 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 inspect.cpp in LibSass 3.5.5, a high memory footprint caused by an endless loop (containing a Sass::Inspect::operator()(Sass::String_Quoted*) stack frame) may cause a Denial of Service via crafted sass input files with stray '&' or '/' characters. NOTE: Upstream comments indicate this issue is closed as "won't fix" and "works as intended" by design

Weakness: CWE-835

Which versions are affected by CVE-2018-19826?

It affects 1 product.

Products include Sass-Lang Libsass.

How do I fix CVE-2018-19826?

No fix has been published for CVE-2018-19826 yet. Limit exposure of the affected software until one is available.

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

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

Sources

Also known as GHSA-vj6g-6xq4-cmrw.

Is CVE-2018-19826 in your software?

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

Check your SBOMs for free