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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.5%top 26.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmtotal.js3.4.9GHSA-vwhc-pww7-72x6

Affected products (as reported)

VendorProductVersions
totaljs framework < 3.4.9

Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

References