CVE-2021-32014 Denial of Service in SheetJS Pro

Medium 5.5 Published Updated

Attackers can cause denial of service via CPU exhaustion by providing a crafted .xlsx file to the SheetJS library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-32014?

CVE-2021-32014 is a medium-severity denial of service vulnerability in n/a, published on 19 Jul 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

SheetJS and SheetJS Pro through 0.16.9 allows attackers to cause a denial of service (CPU consumption) via a crafted .xlsx document that is mishandled when read by xlsx.js.

Weakness: CWE-400

Which versions are affected by CVE-2021-32014?

4 open source packages ship an affected version, including org.webjars.npm:xlsx and xlsx. It affects 3 products.

PackageAffectedFixed in
org.webjars.npm:xlsx MavenAll versions0.17.0
org.webjars.npm:xlsx MavenAll versions0.17.0
xlsx npmAll versions0.17.0
xlsx npmAll versions0.17.0

Products include Oracle Rest Data Services, Sheetjs Sheetjs, Sheetjs Sheetjs Pro.

How do I fix CVE-2021-32014?

Upgrade org.webjars.npm:xlsx to 0.17.0 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-2021-32014 being exploited?

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

Sources

Also known as GHSA-g973-978j-2c3p.

Is CVE-2021-32014 in your software?

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

Check your SBOMs for free