Bug 1857425 (CVE-2020-2220)

Summary: CVE-2020-2220 jenkins: Stored XSS vulnerability in job build time trend
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abenaiss, aos-bugs, bmontgom, eparis, extras-orphan, java-sig-commits, jburrell, jokerman, mizdebsk, msrb, nstielau, pbhattac, sponnaga, vbobade
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jenkins 2.245 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Jenkins versions 2.244 and prior and in LTS 2.235.1 and prior. The agent name is not escaped on build time trend pages which could lead to a stored cross-site scripting (XSS) vulnerability. The user must have the Agent/Configure permission for this exploit to function. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-24 15:15:24 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: 1857426, 1857548, 1857549, 1857550, 1857551, 1857552, 1873181, 1877292    
Bug Blocks: 1857443    

Description Pedro Sampaio 2020-07-15 20:29:34 UTC
Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the agent name on build time trend pages. This results in a stored cross-site scripting (XSS) vulnerability exploitable by users with Agent/Configure permission.

References:

https://www.jenkins.io/security/advisory/2020-07-15/

Comment 1 Pedro Sampaio 2020-07-15 20:30:17 UTC
Created jenkins tracking bugs for this issue:

Affects: fedora-all [bug 1857426]

Comment 3 errata-xmlrpc 2020-08-24 14:51:56 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.5

Via RHSA-2020:3519 https://access.redhat.com/errata/RHSA-2020:3519

Comment 4 Product Security DevOps Team 2020-08-24 15:15:24 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-2220

Comment 5 errata-xmlrpc 2020-08-26 22:47:02 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 3.11

Via RHSA-2020:3541 https://access.redhat.com/errata/RHSA-2020:3541

Comment 8 errata-xmlrpc 2020-09-23 12:44:36 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.3

Via RHSA-2020:3808 https://access.redhat.com/errata/RHSA-2020:3808