VDB
Sign up
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-core

Details

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.2
Fix# pom.xml: bump <version>2.289.2</version> for org.jenkins-ci.main:jenkins-core
Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.292Fixed in: 2.300
Fix# pom.xml: bump <version>2.300</version> for org.jenkins-ci.main:jenkins-core

References