CVE-2022-43358 Denial of service in n/a

High 7.5 Published Updated

Attackers can cause a denial of service via stack overflow in the Sass compiler library, affecting applications using libsass.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-43358?

CVE-2022-43358 is a high-severity denial of service vulnerability in n/a, published on 22 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stack overflow vulnerability in ast_selectors.cpp: in function Sass::ComplexSelector::has_placeholder in libsass:3.6.5-8-g210218, which can be exploited by attackers to cause a denial of service (DoS).

Weakness: CWE-787

Which versions are affected by CVE-2022-43358?

1 open source package ship an affected version, including sass. It affects 1 product.

PackageAffectedFixed in
sass BitnamiFrom 3.6.5-8-g2102183.6.5

Products include Sass-Lang Libsass.

How do I fix CVE-2022-43358?

Upgrade sass to 3.6.5 or later.

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-2022-43358 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-43358 exists.

Sources

Also known as AZL-43987, AZL-44817, BIT-sass-2022-43358, DEBIAN-CVE-2022-43358, GHSA-57fv-hr9v-7rfx, UBUNTU-CVE-2022-43358.

Is CVE-2022-43358 in your software?

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

Check your SBOMs for free