CVE-2020-28495 Prototype Pollution

High 7.3 Published Updated

Prototype pollution in total.js allows attackers to cause denial of service or remote code execution via unsanitized path keys.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-28495?

CVE-2020-28495 is a high-severity vulnerability in total.js, published on 2 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Which versions are affected by CVE-2020-28495?

2 open source packages ship an affected version, including total.js. It affects 1 product.

PackageAffectedFixed in
total.js npmAll versions3.4.7
total.js npmAll versions3.4.7

Products include Totaljs Total.js.

How do I fix CVE-2020-28495?

Upgrade total.js to 3.4.7 or later.

Is CVE-2020-28495 being exploited?

There is no known exploitation of CVE-2020-28495 in the wild and no public exploit code.

Sources

Also known as GHSA-6cf8-qhqj-vjqm, SNYK-JS-TOTALJS-1046671.

Is CVE-2020-28495 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free