Bug 1812404 (CVE-2020-5258)

Summary: CVE-2020-5258 dojo: Prototype pollution in deepCopy method could result in code injection
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andrew, bkearney, extras-orphan, mmraka, tlestach
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dojo 1.16.2, dojo 1.15.3, dojo 1.14.6, dojo 1.13.7, dojo 1.12.8, dojo 1.11.10 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-11 16:31:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1812405    
Bug Blocks: 1812406    

Description Michael Kaplan 2020-03-11 09:27:29 UTC
In dojo the deepCopy method is vulnerable to prototype pollution which could result in code injection. 

Upstream Reference:

https://github.com/dojo/dojo/security/advisories/GHSA-jxfh-8wgv-vfr2

Comment 1 Michael Kaplan 2020-03-11 09:27:54 UTC
Created dojo tracking bugs for this issue:

Affects: epel-all [bug 1812405]

Comment 2 Cedric Buissart 2020-03-11 13:08:38 UTC
Versions of dojo older than 1.8 do not support `deepCopy`, and thus are not affected by this issue.

Comment 3 Cedric Buissart 2020-03-11 13:14:01 UTC
Upstream fix : https://github.com/dojo/dojo/commit/20a00afb68f5587946dc76fbeaa68c39bda2171d

Comment 5 Product Security DevOps Team 2020-03-11 16:31:50 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-5258