CVE-2020-2286: Improper authorization due to caching in Jenkins Role-based Authorization Strategy Plugin

Summary

24/05/2022
Yes i
High
8.8

CVE-2020-2286: Improper authorization due to caching in Jenkins Role-based Authorization Strategy Plugin. Affects org.jenkins-ci.plugins:role-strategy versions >= 2.12, < 3.1. Fixed in 3.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Jenkins Role-based Authorization Strategy Plugin is a Maven package that provides role-based authorization for Jenkins, an open-source automation server. It allows administrators to define roles and assign permissions to users or groups. This plugin is widely used in Jenkins installations to control access and permissions within the system.

Vulnerability Detail

The Role-based Authorization Strategy Plugin versions 2.12 and newer utilize a caching mechanism to improve permission lookups. However, in versions 3.0 and earlier, this cache is not properly invalidated when an administrator modifies the permission configuration. As a result, permissions that were revoked or modified may still be granted to users or groups. This vulnerability can lead to unauthorized access and potential privilege escalation within the Jenkins system.

How To Fix

Minimum fixed version

3.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to Role-based Authorization Strategy Plugin version 3.1 or newer.

Conclusion

The Jenkins Role-based Authorization Strategy Plugin versions 2.12 and earlier suffer from an improper authorization vulnerability due to caching. This can lead to unauthorized access and potential privilege escalation within the Jenkins system. It is crucial to upgrade to version 3.1 or newer of the plugin to fix this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:role-strategy →

Share this vulnerability

FAQ

This vulnerability allows unauthorized access and potential privilege escalation within the Jenkins system. Attackers may be able to perform actions or access resources that they should not have permission for.

Versions 2.12 and newer are affected by this vulnerability. Versions 3.1 and newer have the fix implemented.

There are no known public exploits for this vulnerability at the time of this report. However, it is crucial to apply the fix promptly to mitigate the risk.

No, this vulnerability requires administrative access to the Jenkins system to modify the permission configuration. However, once the configuration is changed, the vulnerability can be exploited by any user or group with access to the affected permissions.

There is no evidence of active exploitation of this vulnerability at the time of this report. However, it is recommended to apply the fix as soon as possible to prevent any potential unauthorized access or privilege escalation.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:role-strategy.

How To Fix

Minimum fixed version

3.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback