RCE in Totaljs Framework
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.015 (72.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 72.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
- Totaljs Framework — versions < 3.4.9
- Totaljs Total.js
Weakness classification (CWE)
References
- github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3 (Patch, Third Party Advisory)
- securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/ (Exploit, Patch, Third Party Advisory)
- github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/chan… (Third Party Advisory)
- www.npmjs.com/package/total.js (Product, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-32831?
- CVE-2021-32831 is a high-severity vulnerability in Totaljs Framework, classified under Code Injection. CVSS score: 7.5/10. Published 2021-08-30.
- How severe is CVE-2021-32831?
- High severity. CVSS v3 base score is 7.5 out of 10.