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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | dojo | 1.15.3+dfsg1-1 | DEBIAN-CVE-2020-5258 |
| Debian:13 | dojo | 1.15.3+dfsg1-1 | DEBIAN-CVE-2020-5258 |
| Debian:14 | dojo | 1.15.3+dfsg1-1 | DEBIAN-CVE-2020-5258 |
| npm | dojo | 1.14.6 | GHSA-jxfh-8wgv-vfr2 |
| npm | dojo | 1.11.10 | GHSA-jxfh-8wgv-vfr2 |
| npm | dojo | 1.16.2 | GHSA-jxfh-8wgv-vfr2 |
| npm | dojo | 1.15.3 | GHSA-jxfh-8wgv-vfr2 |
| npm | dojo | 1.12.8 | GHSA-jxfh-8wgv-vfr2 |
| npm | dojo | 1.13.7 | GHSA-jxfh-8wgv-vfr2 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
References
- [debian-lts-announce] 20200311 [SECURITY] [DLA 2139-1] dojo security update mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
- https://github.com/dojo/dojo/security/advisories/GHSA-jxfh-8wgv-vfr2 x_refsource_CONFIRM
- https://github.com/dojo/dojo/commit/20a00afb68f5587946dc76fbeaa68c39bda2171d x_refsource_MISC
- [qpid-users] 20210309 Addressing CVE-2020-5258 in Qpid Broker-J mailing-list, x_refsource_MLIST
- [qpid-users] 20210314 Re: Addressing CVE-2020-5258 in Qpid Broker-J mailing-list, x_refsource_MLIST
- [qpid-users] 20210318 Re: Addressing CVE-2020-5258 in Qpid Broker-J mailing-list, x_refsource_MLIST
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC