GitHub Advisoryadvisory · npm
GHSA-vwhc-pww7-72x6 Code Injection in total.js
HIGH
Official page ↗
- Aliases
- CVE-2021-32831
- Ecosystem
- npm
- Packages
- total.js
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-94
- Reviewed
- 2021-08-31
Affected packages
• npm total.js: < 3.4.9 → fixed in 3.4.9
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-32831 advisory
- https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3 web
- https://github.com/totaljs package
- https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11 web
- https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs advisory
- https://www.npmjs.com/package/total.js web