MEDIUM4.3
GHSA-q4wp-8c99-69pw
Improper permission checks allow canceling queue items and aborting builds in Jenkins
Quick fix
GHSA-q4wp-8c99-69pw — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.289.2</version> for org.jenkins-ci.main:jenkins-coreDetails
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.
Jenkins 2.300, LTS 2.289.2 requires that users have Item/Read permission for applicable types in addition to Item/Cancel permission.
As a workaround on earlier versions of Jenkins, do not grant Item/Cancel permission to users who do not have Item/Read permission.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.jenkins-ci.main:jenkins-core
Introduced in:
0Fixed in: 2.289.2Fix
# pom.xml: bump <version>2.289.2</version> for org.jenkins-ci.main:jenkins-coreMaven/org.jenkins-ci.main:jenkins-core
Introduced in:
2.292Fixed in: 2.300Fix
# pom.xml: bump <version>2.300</version> for org.jenkins-ci.main:jenkins-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2021-21670[ADVISORY]
- https://github.com/jenkinsci/jenkins/commit/86b7d7e789586575522650c60d591605facb1d70[WEB]
- https://github.com/jenkinsci/jenkins[PACKAGE]
- https://www.jenkins.io/security/advisory/2021-06-30/#SECURITY-2278[WEB]
- http://www.openwall.com/lists/oss-security/2021/06/30/1[WEB]