CVE-2020-2322: Missing permission checks in Jenkins Chaos Monkey Plugin

Summary

24/05/2022
Yes i
High
7.5

CVE-2020-2322: Missing permission checks in Jenkins Chaos Monkey Plugin. Affects io.jenkins.plugins:chaos-monkey versions < 0.4. Fixed in 0.4. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Jenkins Chaos Monkey Plugin is a Maven package (io.jenkins.plugins:chaos-monkey) that introduces chaos engineering principles into Jenkins. It allows users to simulate failures and disruptions in their Jenkins environment to test its resilience. The plugin provides various features, including generating load and inducing memory leaks. However, versions 0.3 and earlier of the plugin lack proper permission checks in several HTTP endpoints, potentially enabling attackers with Overall/Read permission to exploit these functionalities.

Vulnerability Detail

The vulnerability (CVE-2020-2322) arises from the absence of permission checks in the affected Jenkins Chaos Monkey Plugin versions. Attackers with Overall/Read permission can abuse the plugin's load generation and memory leak capabilities. This can lead to the generation of excessive load on the Jenkins server, potentially impacting its performance and availability. Additionally, attackers can exploit the memory leak functionality to consume system resources and cause memory exhaustion. The vulnerability has a CVSS score of 4.3 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L).

How To Fix

Minimum fixed version

0.4

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

As a temporary workaround, users can restrict access to the affected endpoints by modifying the Jenkins configuration or using access control plugins. By limiting access to these endpoints to trusted users with Overall/Administer permission, the risk of exploitation can be reduced. However, applying the recommended fix by upgrading to version 0.4 is the most effective solution.

Conclusion

The Jenkins Chaos Monkey Plugin versions 0.3 and earlier are vulnerable to a missing permission check issue. Attackers with Overall/Read permission can exploit this vulnerability to generate excessive load and induce memory leaks. To mitigate the risk, it is recommended to upgrade to version 0.4 or later of the plugin, which introduces proper permission checks. Alternatively, restricting access to the affected endpoints can serve as a temporary workaround. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for io.jenkins.plugins:chaos-monkey →

Share this vulnerability

FAQ

The Jenkins Chaos Monkey Plugin is a Maven package that enables chaos engineering in Jenkins. It allows users to simulate failures and disruptions to test the resilience of their Jenkins environment.

Versions 0.3 and earlier of the Chaos Monkey Plugin are affected by this vulnerability.

Attackers with Overall/Read permission can generate excessive load on the Jenkins server and induce memory leaks, potentially impacting its performance and availability.

Attackers need Overall/Read permission to exploit the vulnerability. However, version 0.4 of the plugin requires Overall/Administer permission for load generation and memory leaks.

The vulnerability has a CVSS score of 4.3 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L).

Related vulnerabilities

Recent vulnerabilities recorded for io.jenkins.plugins:chaos-monkey.

How To Fix

Minimum fixed version

0.4

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