medium4.3
CVE-2021-21670
Improper permission checks allow canceling queue items and aborting builds in Jenkins
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.main:jenkins-core | <= 2.289.1 | 2.289.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Jenkins | before 2.289.2 before 2.300 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2021/06/30/1
- https://www.jenkins.io/security/advisory/2021-06-30/#SECURITY-2278
- https://github.com/advisories/GHSA-q4wp-8c99-69pw
- https://nvd.nist.gov/vuln/detail/CVE-2021-21670
- https://github.com/jenkinsci/jenkins/commit/86b7d7e789586575522650c60d591605facb1d70