CVE-2021-21670
Improper permission checks allow canceling queue items and aborting builds in Jenkins
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2021-21670- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:N/I:P/A:N - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-21670- Updated
- 2026-11-02
EUVDEUVD-2022-4887 No score
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.
- Record
EUVD-2022-4887- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q4wp-8c99-69pw
4.3
Improper permission checks allow canceling queue items and aborting builds in Jenkins
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.
- Record
GHSA-q4wp-8c99-69pw- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
OSV
4.3
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.
- Record
CVE-2021-21670- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-q4wp-8c99-69pw
4.3
Improper permission checks allow canceling queue items and aborting builds in Jenkins
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.
- Record
GHSA-q4wp-8c99-69pw- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
Show 4 moreShow less
OSVRHBA-2021:3033
7.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.7.24 packages update
- Record
RHBA-2021:3033- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHBA-2021:3396
7.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.6.44 packages update
- Record
RHBA-2021:3396- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:3820
7.5
Red Hat Security Advisory: OpenShift Container Platform 4.8.15 packages and security update
- Record
RHSA-2021:3820- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBIT-jenkins-2021-21670 No score
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.
- Record
BIT-jenkins-2021-21670- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.jenkins-ci.main:jenkins-coreMaven |
through 2.289.1 | 2.289.2 |
org.jenkins-ci.main:jenkins-coreMaven |
2.292 to 2.299 | 2.300 |
jenkinsBitnami |
before 2.300.0 | 2.300.0 |
org.jenkins-ci.main:jenkins-coreMaven |
before 2.289.2, plus listed versions 1.3961.3971.3981.3991.400 Show 45 moreShow less1.4011.4031.4041.4051.4061.4071.4081.4091.409.11.409.21.409.31.4101.4111.4121.4131.4141.4151.4161.4171.4181.4191.4201.4211.4221.4231.4241.424.11.424.21.424.31.424.41.424.51.424.61.4251.4261.4271.4281.4291.4301.4311.4321.4331.4341.4351.4361.437 |
2.289.2 |
org.jenkins-ci.main:jenkins-coreMaven |
2.292 up to 2.300, plus listed versions 2.2932.2942.2952.2962.2972.2982.299 |
2.300 |
jenkinsRed Hat:openshift:4.7::el8 |
before 0:2.289.2.1628252553-1.el8 | 0:2.289.2.1628252553-1.el8 |
jenkinsRed Hat:openshift:4.6::el8 |
before 0:2.289.2.1629437819-1.el8 | 0:2.289.2.1629437819-1.el8 |
jenkinsRed Hat:openshift:4.8::el8 |
before 0:2.289.3.1633554819-1.el8 | 0:2.289.3.1633554819-1.el8 |
butaneRed Hat:openshift:4.8::el8 |
before 0:0.12.1-2.rhaos4.8.el8 | 0:0.12.1-2.rhaos4.8.el8 |
butane-debuginfoRed Hat:openshift:4.8::el8 |
before 0:0.12.1-2.rhaos4.8.el8 | 0:0.12.1-2.rhaos4.8.el8 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-21670 is a medium vulnerability (CVSS 4.3) in Jenkins, published June 30, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.04%, the 81st percentile. Fixed in org.jenkins-ci.main:jenkins-core 2.289.2.
References
jenkins.io/security/advisory/2021-06-30
openwall.com/lists/oss-security/2021/06/30/1
nvd.nist.gov/vuln/detail/CVE-2021-21670
github.com/jenkinsci/jenkins/commit/86b7d7e789586575522650c60d591605facb1d70
github.com/advisories/GHSA-q4wp-8c99-69pw
github.com/jenkinsci/jenkins
Show 36 moreShow less
access.redhat.com/errata/RHBA-2021:3033
bugzilla.redhat.com/show_bug.cgi?id=1991349
security.access.redhat.com/data/csaf/v2/advisories/2021/rhba-2021_3033.json
access.redhat.com/security/cve/CVE-2021-21670
bugzilla.redhat.com/show_bug.cgi?id=2007749
cve.org/CVERecord?id=CVE-2021-21670
access.redhat.com/security/cve/CVE-2021-21671
bugzilla.redhat.com/show_bug.cgi?id=2007750
cve.org/CVERecord?id=CVE-2021-21671
nvd.nist.gov/vuln/detail/CVE-2021-21671
access.redhat.com/errata/RHBA-2021:3396
bugzilla.redhat.com/show_bug.cgi?id=1999759
bugzilla.redhat.com/show_bug.cgi?id=2000117
security.access.redhat.com/data/csaf/v2/advisories/2021/rhba-2021_3396.json
access.redhat.com/errata/RHSA-2021:3820
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1983596
bugzilla.redhat.com/show_bug.cgi?id=1989564
bugzilla.redhat.com/show_bug.cgi?id=1989570
bugzilla.redhat.com/show_bug.cgi?id=1989575
bugzilla.redhat.com/show_bug.cgi?id=2013510
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3820.json
access.redhat.com/security/cve/CVE-2021-33195
cve.org/CVERecord?id=CVE-2021-33195
nvd.nist.gov/vuln/detail/CVE-2021-33195
groups.google.com/g/golang-announce/c/RgCMkAEQjSI
access.redhat.com/security/cve/CVE-2021-33197
cve.org/CVERecord?id=CVE-2021-33197
nvd.nist.gov/vuln/detail/CVE-2021-33197
access.redhat.com/security/cve/CVE-2021-33198
cve.org/CVERecord?id=CVE-2021-33198
nvd.nist.gov/vuln/detail/CVE-2021-33198
access.redhat.com/security/cve/CVE-2021-34558
cve.org/CVERecord?id=CVE-2021-34558
nvd.nist.gov/vuln/detail/CVE-2021-34558
golang.org/doc/devel/release
Left out here: 640 versions. The JSON record has them.