GitHub Advisoryadvisory · npm

GHSA-6cf8-qhqj-vjqm Prototype pollution in total.js

HIGH Published 2021-02-05 Modified 2023-09-13 Official page ↗
Aliases
CVE-2020-28495
Ecosystem
npm
Packages
total.js
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-1321, CWE-400
Reviewed
2021-02-03

Affected packages

• npm total.js: < 3.4.7 → fixed in 3.4.7

Description

There is a prototype pollution vulnerability in the package total.js before version 3.4.7. The set function can be used to set a value into the object according to the path. However the keys of the path being set are not properly sanitized, leading to a prototype pollution vulnerability. The impact depends on the application. In some cases it is possible to achieve Denial of service (DoS), Remote Code Execution or Property Injection.

Related

Alias · CVE (1)

  • CVE-2020-28495 This affects the package total.js before 3.4.7. vulnerability

Weakness · CWE (2)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
  • CWE-400 Uncontrolled Resource Consumption weakness

References