CVE-2021-21670: Medium severity Jenkins Jenkins vulnerability

Published Jun 30, 2021
·
Updated

Incorrect Authorization vulnerability was found in Jenkins. Users with Item/Cancel permission are able to cancel queue items and abort builds of jobs even when they do not have Item/Read permission.

Other sources

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 Software

9 affected componentsFixes available
redhat/jenkins<0:2.289.2.1629437819-1.el8
0:2.289.2.1629437819-1.el8
redhat/jenkins<0:2.289.2.1628252553-1.el8
0:2.289.2.1628252553-1.el8
redhat/jenkins<0:2.289.3.1633554819-1.el8
0:2.289.3.1633554819-1.el8
maven/org.jenkins-ci.main:jenkins-core>=2.292<=2.299
2.300
maven/org.jenkins-ci.main:jenkins-core<=2.289.1
2.289.2
redhat/jenkins LTS<2.289.2
2.289.2
redhat/jenkins<2.300
2.300
Jenkins Jenkins<2.289.2
Jenkins Jenkins<2.300

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 0:2.289.2.1629437819-1.el8
  2. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 0:2.289.2.1628252553-1.el8
  3. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 0:2.289.3.1633554819-1.el8
  4. Upgrade

    Upgrade maven/org.jenkins-ci.main:jenkins-core to a version that resolves this vulnerability.

    Fixed in 2.300
  5. Upgrade

    Upgrade maven/org.jenkins-ci.main:jenkins-core to a version that resolves this vulnerability.

    Fixed in 2.289.2
  6. Upgrade

    Upgrade redhat/jenkins LTS to a version that resolves this vulnerability.

    Fixed in 2.289.2
  7. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 2.300
  8. Upgrade

    Upgrade Jenkins to a version that resolves this vulnerability.

    Fixed in 2.300
  9. Upgrade

    Upgrade Jenkins (LTS) to a version that resolves this vulnerability.

    Fixed in 2.289.2
  10. Configuration

    As a workaround on earlier versions of Jenkins, do not grant Item/Cancel permission to users who do not have Item/Read permission.

    Jenkins Item/Cancel permission assignment = Only to users who also have Item/Read permission

Event History

Jun 30, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·04:45 PM
Data Sourced
via MITRE·04:45 PM
Description
Sep 24, 2021
Data Sourced
via Red Hat·06:22 PM
DescriptionSeverityAffected Software
May 24, 2022
Advisory Published
07:06 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this Jenkins vulnerability?

The vulnerability ID for this Jenkins vulnerability is CVE-2021-21670.

2

What is the severity of CVE-2021-21670?

The severity of CVE-2021-21670 is medium.

3

How does CVE-2021-21670 affect Jenkins?

CVE-2021-21670 allows users to cancel queue items and abort builds of jobs for which they have Item/Cancel permission, even without Item/Read permission.

4

How can I fix CVE-2021-21670 in Jenkins?

To fix CVE-2021-21670 in Jenkins, update to version 2.289.2 or later for Jenkins LTS or version 2.300 or later for Jenkins.

5

Where can I find more information about CVE-2021-21670?

More information about CVE-2021-21670 can be found at the following references: [Jenkins Security Advisory](https://www.jenkins.io/security/advisory/2021-06-30/#SECURITY-2278), [Openwall Mailing List](http://www.openwall.com/lists/oss-security/2021/06/30/1), [Red Hat Advisory](https://access.redhat.com/errata/RHSA-2021:3820).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203