CVE-2021-21624: Medium severity jenkins role-based authorization strategy vulnerability

Published Mar 18, 2021
·
Updated

An incorrect permission check in Jenkins Role-based Authorization Strategy Plugin 3.1 and earlier allows attackers with Item/Read permission on nested items to access them, even if they lack Item/Read permission for parent folders.

Other sources

Items (like jobs) can be organized hierarchically in Jenkins, using the Folders Plugin or something similar. An item is expected to be accessible only if all its ancestors are accessible as well.

Role-based Authorization Strategy Plugin 3.1 and earlier does not correctly perform permission checks to determine whether an item should be accessible.

This allows attackers with Item/Read permission on nested items to access them, even if they lack Item/Read permission for parent folders.

Role-based Authorization Strategy Plugin 3.1.1 requires Item/Read permission on parent items to grant Item/Read permission on an individual item.

As a workaround in older releases, do not grant permissions on individual items to users who do not have access to parent items.

In case of problems, the Java system property com.michelin.cio.hudson.plugins.rolestrategy.RoleMap.checkParentPermissions can be set to false, completely disabling this fix.

Affected Software

2 affected componentsFixes available
Jenkins Role-based Authorization Strategy Jenkins<=3.1
maven/org.jenkins-ci.plugins:role-strategy<=3.1
3.1.1

Event History

Mar 18, 2021
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description
May 24, 2022
Advisory Published
05:44 PM

Frequently Asked Questions

1

What is the severity of CVE-2021-21624?

CVE-2021-21624 is considered a medium-severity vulnerability due to the improper permission checks that can lead to unauthorized access to nested items.

2

How do I fix CVE-2021-21624?

To fix CVE-2021-21624, upgrade the Jenkins Role-based Authorization Strategy Plugin to version 3.1.1 or later.

3

What causes the vulnerability identified as CVE-2021-21624?

The vulnerability occurs due to an incorrect permission check that allows users with Item/Read permission on nested items to access items in parent folders without proper permission.

4

What types of items are affected by CVE-2021-21624?

CVE-2021-21624 affects items organized hierarchically in Jenkins, such as jobs and folders.

5

Is CVE-2021-21624 still exploitable in the latest Jenkins versions?

No, CVE-2021-21624 is not exploitable in the latest versions if the Role-based Authorization Strategy Plugin has been updated to the fixed version.

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