CVE-2021-32831 Code injection in total.js

High 7.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2021-32831?

CVE-2021-32831 is a high-severity vulnerability in totaljs framework, published on 30 Aug 2021.

Official description

Total.js framework (npm package total.js) is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python's Django or ASP.NET MVC. In total.js framework before version 3.4.9, calling the utils.set function with user-controlled values leads to code-injection. This can cause a variety of impacts that include arbitrary code execution. This is fixed in version 3.4.9.

Weakness: CWE-94

Which versions are affected by CVE-2021-32831?

2 open source packages ship an affected version, including total.js. It affects 1 product.

PackageAffectedFixed in
total.js npmAll versions3.4.9
total.js npmAll versions3.4.9

Products include Totaljs Total.js.

How do I fix CVE-2021-32831?

Upgrade total.js to 3.4.9 or later.

Is CVE-2021-32831 being exploited?

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

Sources

Also known as GHSA-vwhc-pww7-72x6.

Is CVE-2021-32831 in your software?

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

Check your SBOMs for free