Advisory

GHSA-6cf8-qhqj-vjqm

Also known as: CVE-2020-28495, SNYK-JS-TOTALJS-1046671

Summary

Prototype pollution in total.js

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-02-05 20:43 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

total.js

npm · All systems

Affected

  • introduced 0, fixed 3.4.7 (semver)

Fixed versions

3.4.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences