Bug 2007749 (CVE-2021-21670)

Summary: CVE-2021-21670 jenkins: improper permission checks allow canceling queue items and aborting builds
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abenaiss, aileenc, aos-bugs, bmontgom, chazlett, drieden, eparis, ggaughan, gmalinko, janstey, jburrell, jochrist, jokerman, jwon, nstielau, pbhattac, pdelbell, sponnaga, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jenkins LTS 2.289.2, jenkins 2.300 Doc Type: If docs needed, set a value
Doc Text:
Incorrect Authorization vulnerability was found in Jenkins. Users with Item/Cancel permission are able to cancel queue items and abort builds of jobs even when they do not have Item/Read permission.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-20 02:08:19 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: 1972354, 2008113, 2008114    
Bug Blocks: 2007753    

Description Guilherme de Almeida Suckevicz 2021-09-24 18:22:13 UTC
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier allows users to cancel queue items and abort builds of jobs for which they have Item/Cancel permission even when they do not have Item/Read permission.

References:
https://www.jenkins.io/security/advisory/2021-06-30/#SECURITY-2278
http://www.openwall.com/lists/oss-security/2021/06/30/1

Comment 3 errata-xmlrpc 2021-10-19 20:21:02 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.8

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

Comment 4 Product Security DevOps Team 2021-10-20 02:08:19 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-21670