Vulnerability · Published Aug 30, 2021 · Assigned by GitHub_M
CVE-2021-32831Code injection in total.js
High 7.5
In plain English
A high-severity code injection in framework from totaljs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | total.js | 3.4.9 | GHSA-vwhc-pww7-72x6 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3 x_refsource_MISC
- https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/ x_refsource_CONFIRM
- https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11 x_refsource_MISC
- https://www.npmjs.com/package/total.js x_refsource_MISC