Vulnerability · Published Mar 10, 2020 · Assigned by GitHub_M

CVE-2020-5258Prototype pollution in dojo

High 7.7

In plain English

A high-severity code injection in dojo from dojo. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)4.0%top 9.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In affected versions of dojo (NPM package), the deepCopy method is vulnerable to Prototype Pollution. Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects. An attacker manipulates these attributes to overwrite, or pollute, a JavaScript application object prototype of the base object by injecting other values. This has been patched in versions 1.12.8, 1.13.7, 1.14.6, 1.15.3 and 1.16.2

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12dojo1.15.3+dfsg1-1DEBIAN-CVE-2020-5258
Debian:13dojo1.15.3+dfsg1-1DEBIAN-CVE-2020-5258
Debian:14dojo1.15.3+dfsg1-1DEBIAN-CVE-2020-5258
npmdojo1.14.6GHSA-jxfh-8wgv-vfr2
npmdojo1.11.10GHSA-jxfh-8wgv-vfr2
npmdojo1.16.2GHSA-jxfh-8wgv-vfr2
npmdojo1.15.3GHSA-jxfh-8wgv-vfr2
npmdojo1.12.8GHSA-jxfh-8wgv-vfr2
npmdojo1.13.7GHSA-jxfh-8wgv-vfr2

Affected products (as reported)

VendorProductVersions
dojo dojo < 1.12.8>= 1.13.0, < 1.13.7>= 1.14.0, < 1.14.6>= 1.15.0, < 1.15.3>= 1.16.0, < 1.16.2

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

References