Bug 1905784 (CVE-2020-27832)

Summary: CVE-2020-27832 quay: persistent XSS in repository notification display
Product: [Other] Security Response Reporter: Jason Shepherd <jshepherd>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdettelb, kmullins, security-response-team, tomckay
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
See Also: https://issues.redhat.com/browse/PROJQUAY-1344
https://issues.redhat.com/browse/PROJQUAY-1377
Whiteboard:
Fixed In Version: quay 3.3.2 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Red Hat Quay, where it has a persistent Cross-site Scripting (XSS) vulnerability when displaying a repository's notification. This flaw allows an attacker to trick a user into performing a malicious action to impersonate the target user. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-11 12:27:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1902795, 1939572    

Description Jason Shepherd 2020-12-09 04:17:04 UTC
Red Hat Quay has a persistent XSS vulnerability when displaying a repositories email notification. An attacker who can trick a user into performing a malicious action can use this flaw to impersonate the target user.

Comment 3 Jason Shepherd 2020-12-10 00:39:04 UTC
Upstream commit:

https://github.com/quay/quay/pull/613

Comment 4 Jason Shepherd 2020-12-10 01:21:43 UTC
Acknowledgments:

Name: Chen Cohen (eBay)

Comment 5 lnacshon 2020-12-10 11:51:06 UTC
Issue already tracked here https://issues.redhat.com/browse/PROJQUAY-1344.
Our recommendation is to add input validation and sanitization to all user inputs in the service.

Comment 7 errata-xmlrpc 2021-01-11 07:33:30 UTC
This issue has been addressed in the following products:

  Red Hat Quay 3

Via RHSA-2021:0050 https://access.redhat.com/errata/RHSA-2021:0050

Comment 8 Product Security DevOps Team 2021-01-11 12:27:51 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-27832