CVE-2021-21670
JSON

4.3medium

Improper permission checks allow canceling queue items and aborting builds in Jenkins

Severity
4.3medium CVSS:3.1 by NVD
Exploit likelihood
2.04% (higher than 81% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-q4wp-8c99-69pwBIT-JENKINS-2021-21670

Description

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.

Affected

Product or packageVersionsReported by
Jenkins project Jenkinsfrom unspecified up to 2.299, from unspecified up to LTS 2.289.1CVE List
org.jenkins-ci.main:jenkins-core (Maven)before 2.289.2, from 2.292 before 2.300GitHub Advisory Database
jenkins jenkinsbefore 2.289.2, before 2.300NVD
jenkins (Bitnami)before 2.300.0Bitnami Vulnerability Database

All scores

GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:N/I:P/A:N
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Jenkins versiones 2.299 y anteriores, versiones LTS 2.289.1 y anteriores, permiten a usuarios cancelar elementos de la cola y abortar construcciones de trabajos para los que tienen permiso de Elemento/Cancelación incluso cuando no tienen permiso de Elemento/Lectura

Bitnami Vulnerability Database

Jenkins 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

Sources

SourceRecordLicence
CVE ListCVE-2021-21670 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-q4wp-8c99-69pw changed 2024-02-16CC-BY-4.0
NVDCVE-2021-21670 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-JENKINS-2021-21670 changed 2026-09-08Apache-2.0