Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTNodzUtcTg1NS1nNmN3

Prototype Pollution in Dojox

The Dojox jQuery wrapper jqMix mixin method is vulnerable to Prototype Pollution.

Affected Area:

//https://github.com/dojo/dojox/blob/master/jq.js#L442
		var tobj = {};
		for(var x in props){
			// the "tobj" condition avoid copying properties in "props"
			// inherited from Object.prototype.  For example, if obj has a custom
			// toString() method, don't overwrite it with the toString() method
			// that props inherited from Object.prototype
			if((tobj[x] === undefined || tobj[x] != props[x]) && props[x] !== undefined && obj != props[x]){
				if(dojo.isObject(obj[x]) && dojo.isObject(props[x])){
					if(dojo.isArray(props[x])){
						obj[x] = props[x];
					}else{
						obj[x] = jqMix(obj[x], props[x]);
					}
				}else{
					obj[x] = props[x];
				}
Permalink: https://github.com/advisories/GHSA-3hw5-q855-g6cw
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTNodzUtcTg1NS1nNmN3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: about 4 years ago
Updated: over 1 year ago


CVSS Score: 7.7
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Identifiers: GHSA-3hw5-q855-g6cw, CVE-2020-5259
References: Repository: https://github.com/dojo/dojox
Blast Radius: 22.2

Affected Packages

npm:dojox
Dependent packages: 15
Dependent repositories: 774
Downloads: 10,156 last month
Affected Version Ranges: >= 1.16.0, < 1.16.2, >= 1.15.0, < 1.15.3, >= 1.14.0, < 1.14.6, >= 1.13.0, < 1.13.7, >= 1.12.0, < 1.12.8, < 1.11.10
Fixed in: 1.16.2, 1.15.3, 1.14.6, 1.13.7, 1.12.8, 1.11.10
All affected versions: 1.6.4, 1.6.5, 1.7.11, 1.7.12, 1.8.13, 1.8.14, 1.9.7, 1.9.9, 1.9.10, 1.9.11, 1.10.3, 1.10.10, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.11.5, 1.11.6, 1.11.7, 1.11.8, 1.11.9, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0, 1.15.1, 1.15.2, 1.16.0, 1.16.1
All unaffected versions: 1.11.10, 1.11.11, 1.11.12, 1.11.13, 1.12.8, 1.12.9, 1.12.10, 1.12.11, 1.13.7, 1.13.8, 1.13.9, 1.13.10, 1.14.6, 1.14.7, 1.14.8, 1.14.9, 1.15.3, 1.15.4, 1.15.5, 1.15.6, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17.0, 1.17.1, 1.17.2, 1.17.3