# CVE-2021-21624: Incorrect permission checks in Jenkins Role-based Authorization Strategy Plugin may allow accessing some items

Source: https://junglewise.ai/threats/cve-2021-21624-incorrect-permission-checks-in-jenkins-role-based-authorization  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2021-21624 · Severity: low · CVSS 3.1 · Published 2022-05-24

Incorrect permission checks in Jenkins Role-based Authorization Strategy Plugin may allow accessing some items

Technologies: [org.jenkins-ci.plugins:role-strategy (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-role-strategy). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-21624 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-21624 being exploited in the wild.

**How severe is CVE-2021-21624?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** org.jenkins-ci.plugins:role-strategy (Maven) ECOSYSTEM:introduced=0,fixed=3.1.1.

**Is there a fix for CVE-2021-21624?** Yes. org.jenkins-ci.plugins:role-strategy (Maven): upgrade to 3.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-21624?** Check whether you run org.jenkins-ci.plugins:role-strategy (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins:role-strategy (Maven): upgrade to 3.1.1 or later

  ```sh
  # set org.jenkins-ci.plugins:role-strategy to 3.1.1 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:role-strategy (Maven) ECOSYSTEM:introduced=0,fixed=3.1.1

## Identifiers

- CVE-2021-21624
- GHSA-rm4m-39fj-288c

## Related threats

- [Jenkins Role-based Authorization Strategy Plugin grants permissions even after they’ve been disabled](https://junglewise.ai/threats/cve-2023-28668-jenkins-role-based-authorization-strategy-plugin-grants)
- [Improper authorization due to caching in Jenkins Role-based Authorization Strategy Plugin](https://junglewise.ai/threats/cve-2020-2286-improper-authorization-due-to-caching-in-jenkins-role-based)
- [CSRF vulnerability in Jenkins Role-based Authorization Strategy Plugin configuration](https://junglewise.ai/threats/cve-2017-1000090-csrf-vulnerability-in-jenkins-role-based-authorization-strategy)
