1. CVE archive
  2. 2020
  3. CVE-2020-5259

CVE-2020-5259

8.6 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N 8.6 – High

Description

In affected versions of dojox (NPM package), the jqMix 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.11.10, 1.12.8, 1.13.7, 1.14.6, 1.15.3 and 1.16.2

Affected products

VendorProductVersionPlatform
linuxfoundation dojox < 1.11.10 node.js
linuxfoundation dojox >= 1.12.0 < 1.12.8 node.js
linuxfoundation dojox >= 1.13.0 < 1.13.7 node.js
linuxfoundation dojox >= 1.14.0 < 1.14.6 node.js
linuxfoundation dojox >= 1.15.0 < 1.15.3 node.js
linuxfoundation dojox >= 1.16.0 < 1.16.2 node.js

Vulnerability type

CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Impact on systems

ScopeImpact
Confidentiality Read Application Data
Many injection attacks involve the disclosure of important information -- in terms of both data sensitivity and usefulness in further exploitation.
Access Control Bypass Protection Mechanism
In some cases, injectable code controls authentication; this may lead to a remote vulnerability.
Other Alter Execution Logic
Injection attacks are characterized by the ability to significantly change the flow of a given process, and in some cases, to the execution of arbitrary code.
Integrity, Other Other
Data injection attacks lead to loss of data integrity in nearly all cases as the control-plane data injected is always incidental to data recall or writing.
Non-Repudiation Hide Activities
Often the actions performed by injected control code are unlogged.

How to prevent it

Requirements Programming languages and supporting technologies might be chosen which are not subject to these issues.
Implementation Utilize an appropriate mix of allowlist and denylist parsing to filter control-plane syntax from all input.

All 4,104 CWE-74 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org