GitHub Advisoryadvisory · Maven
GHSA-q4wp-8c99-69pw Improper permission checks allow canceling queue items and aborting builds in Jenkins
MEDIUM
Official page ↗
- Aliases
- CVE-2021-21670
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.main:jenkins-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-863
- Reviewed
- 2022-12-16
Affected packages
• Maven org.jenkins-ci.main:jenkins-core: < 2.289.2 → fixed in 2.289.2
• Maven org.jenkins-ci.main:jenkins-core: >= 2.292, < 2.300 → fixed in 2.300
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.
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.
Related
Alias · CVE (1)
- CVE-2021-21670 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… vulnerability
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21670 advisory
- https://github.com/jenkinsci/jenkins/commit/86b7d7e789586575522650c60d591605facb1d70 web
- https://github.com/jenkinsci/jenkins package
- https://www.jenkins.io/security/advisory/2021-06-30/#SECURITY-2278 web
- http://www.openwall.com/lists/oss-security/2021/06/30/1 web