CVE-2021-23344 Remote Code Execution (RCE)

Critical 9.8 Published Updated

Attackers can execute arbitrary code via the set method in the total.js library, requiring an upgrade to secure the application.

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

What is CVE-2021-23344?

CVE-2021-23344 is a critical code injection vulnerability in total.js, published on 4 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The package total.js before 3.4.8 are vulnerable to Remote Code Execution (RCE) via set.

Weakness: CWE-94

Which versions are affected by CVE-2021-23344?

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

PackageAffectedFixed in
total.js npmAll versions3.4.8
total.js npmAll versions3.4.8

Products include Totaljs Total.js.

How do I fix CVE-2021-23344?

Upgrade total.js to 3.4.8 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-23344 being exploited?

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

Sources

Also known as GHSA-3wj8-vp9h-rm6m, SNYK-JS-TOTALJS-1077069.

Is CVE-2021-23344 in your software?

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

Check your SBOMs for free