Bug 1959545 (CVE-2021-21648)

Summary: CVE-2021-21648 jenkins-2-plugins/credentials: Reflected XSS vulnerability in Credentials Plugin
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abenaiss, aos-bugs, bmontgom, eparis, jburrell, jokerman, nstielau, pbhattac, sponnaga, vbobade
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: credentials 2.3.19 Doc Type: If docs needed, set a value
Doc Text:
The reflected cross-site scripting (XSS) vulnerability was found in jenkins credentials plugin. On a `view it` there is no escape from provided by user information (user-controlled).
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-28 01:07:41 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: 1960019, 1960020, 1962072    
Bug Blocks: 1959548    

Description Pedro Sampaio 2021-05-11 18:16:34 UTC
Credentials Plugin 2.3.18 and earlier does not escape user-controlled information on a view it provides. This results in a reflected cross-site scripting (XSS) vulnerability. Credentials Plugin 2.3.19 restricts the user-controlled information it provides to a safe subset.

References:

https://www.jenkins.io/security/advisory/2021-05-11/

Comment 1 Przemyslaw Roguski 2021-05-12 18:52:10 UTC
External References:

https://www.jenkins.io/security/advisory/2021-05-11/#SECURITY-2349

Comment 4 errata-xmlrpc 2021-07-27 22:07:41 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.8

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

Comment 5 Product Security DevOps Team 2021-07-28 01:07:41 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-2021-21648