Vulnerability · Published Feb 2, 2021 · Assigned by snyk
CVE-2020-28495Prototype Pollution
High 7.3
In plain English
A high-severity security flaw in total.js. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.8% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)3.8%top 10.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects the package total.js before 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | total.js | 3.4.7 | GHSA-6cf8-qhqj-vjqm |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671 x_refsource_MISC
- https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set x_refsource_MISC
- https://github.com/totaljs/framework/blob/master/utils.js%23L6606 x_refsource_MISC
- https://github.com/totaljs/framework/blob/master/utils.js%23L6617 x_refsource_MISC
- https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff x_refsource_MISC