Prototype pollution in Dojo



Published: 2022-02-23
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-23450
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
dojo
Web applications / JS libraries

Vendor dojo.io

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Code Injection

EUVDB-ID: #VU60834

Risk: High

CVSSv3.1: 7.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-23450

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can inject and execute arbitrary script code via the setObject function.

Mitigation

Install update from vendor's website.

Vulnerable software versions

dojo: 1.11.0 - 1.16.4

External links

http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2313033
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBDOJO-2313034
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2313035
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-2313036
http://snyk.io/vuln/SNYK-JS-DOJO-1535223
http://github.com/dojo/dojo/commit/b7b8b279f3e082e9d4b54144fe831bdc77b2e0c9


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###