Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTZjZjgtcWhxai12anFt
Prototype pollution in total.js
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.
Permalink: https://github.com/advisories/GHSA-6cf8-qhqj-vjqmJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTZjZjgtcWhxai12anFt
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: 4 months ago
Identifiers: GHSA-6cf8-qhqj-vjqm, CVE-2020-28495
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-28495
- https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff
- https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set
- https://github.com/totaljs/framework/blob/master/utils.js%23L6606
- https://github.com/totaljs/framework/blob/master/utils.js%23L6617
- https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671
- https://www.npmjs.com/package/total.js
- https://github.com/advisories/GHSA-6cf8-qhqj-vjqm
Affected Packages
npm:total.js
Versions: < 3.4.7Fixed in: 3.4.7