Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. total.js
  4. ›
  5. CVE-2021-32831

CVE-2021-32831: Code Injection

August 30, 2021 (updated September 7, 2021)

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, 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

References

  • nvd.nist.gov/vuln/detail/CVE-2021-32831

Code Behaviors & Features

Detect and mitigate CVE-2021-32831 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.4.9

Fixed versions

  • 3.4.9

Solution

Upgrade to version 3.4.9 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

npm/total.js/CVE-2021-32831.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:23 +0000.