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 package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins | from unspecified up to 2.299, from unspecified up to LTS 2.289.1 | CVE List |
| org.jenkins-ci.main:jenkins-core (Maven) | before 2.289.2, from 2.292 before 2.300 | GitHub Advisory Database |
| jenkins jenkins | before 2.289.2, before 2.300 | NVD |
| jenkins (Bitnami) | before 2.300.0 | Bitnami Vulnerability Database |
All scores
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium 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
| https://www.jenkins.io/security/advisory/2021-06-30/#SECURITY-2278 | advisory, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2021/06/30/1 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-21670 | advisory, web | |
| https://github.com/jenkinsci/jenkins/commit/86b7d7e789586575522650c60d591605facb1d70 | web | |
| https://github.com/jenkinsci/jenkins | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21670 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q4wp-8c99-69pw changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21670 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-JENKINS-2021-21670 changed 2026-09-08 | Apache-2.0 |