CVE-2021-23344 Remote Code Execution (RCE)
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.
| Package | Affected | Fixed in |
|---|---|---|
total.js npm | All versions | 3.4.8 |
total.js npm | All versions | 3.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.
Other vulnerabilities in total.js
Sources
Also known as GHSA-3wj8-vp9h-rm6m, SNYK-JS-TOTALJS-1077069.