CVE-2021-32831

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 06:07

Type Values Removed Values Added
References () https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11 - Third Party Advisory () https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11 - Third Party Advisory
References () https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3 - Patch, Third Party Advisory () https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3 - Patch, Third Party Advisory
References () https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/ - Exploit, Patch, Third Party Advisory () https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/ - Exploit, Patch, Third Party Advisory
References () https://www.npmjs.com/package/total.js - Product, Third Party Advisory () https://www.npmjs.com/package/total.js - Product, Third Party Advisory
CVSS v2 : 6.5
v3 : 7.2
v2 : 6.5
v3 : 7.5

Information

Published : 2021-08-30 21:15

Updated : 2024-11-21 06:07


NVD link : CVE-2021-32831

Mitre link : CVE-2021-32831

CVE.ORG link : CVE-2021-32831


JSON object : View

Products Affected

totaljs

  • total.js
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')