CVE-2020-2276: System command execution vulnerability in Selection tasks Jenkins Plugin

Summary

24/05/2022
No i
High
8.8

CVE-2020-2276: System command execution vulnerability in Selection tasks Jenkins Plugin. Affects org.jvnet.hudson.plugins:selection-tasks-plugin versions < 1.0. No fix is published. 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 Selection tasks Jenkins Plugin is a Maven package that provides functionality for executing user-specified programs on the Jenkins controller. It allows users with Job/Configure permission to define and run tasks on the Jenkins controller. This plugin is commonly used in Jenkins environments to automate various tasks and workflows. However, versions 1.0 and earlier of the plugin are vulnerable to a system command execution vulnerability.

Vulnerability Detail

The vulnerability (CVE-2020-2276) in the Selection tasks Jenkins Plugin allows attackers with Job/Configure permission to execute arbitrary system commands on the Jenkins controller. This can be exploited by specifying a malicious program to be executed, which is then run on the Jenkins controller as the operating system (OS) user that the Jenkins process is running as. The impact of this vulnerability is significant, as it allows an attacker to gain unauthorized access and potentially perform malicious actions on the Jenkins controller.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can restrict Job/Configure permission to trusted individuals only. By limiting access to this permission, the risk of unauthorized users exploiting the vulnerability is reduced. However, this workaround does not address the root cause of the vulnerability and should be considered a temporary measure until the plugin can be updated.

Conclusion

The system command execution vulnerability in the Selection tasks Jenkins Plugin (CVE-2020-2276) poses a significant risk to Jenkins environments. It allows attackers with Job/Configure permission to execute arbitrary system commands on the Jenkins controller, potentially leading to unauthorized access and malicious actions. To mitigate this vulnerability, it is crucial to upgrade the plugin to a non-affected version and regularly update all Jenkins plugins. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jvnet.hudson.plugins:selection-tasks-plugin →

Share this vulnerability

FAQ

The vulnerability allows attackers to execute arbitrary system commands on the Jenkins controller, potentially leading to unauthorized access and malicious actions.

Users of the Selection tasks Jenkins Plugin versions 1.0 and earlier are affected by this vulnerability.

You can use Vulert's playground (https://vulert.com/scanner) to check if your Jenkins environment is affected by this vulnerability. Simply provide your pom.xml file to the playground, and it will analyze and alert you in real-time if any open-source vulnerabilities, including this one, are detected.

At the time of this report, there are no known public exploits specifically targeting this vulnerability. However, it is important to promptly address and fix the vulnerability to prevent potential exploitation.

Yes, it is recommended to upgrade the Selection tasks Jenkins Plugin to a version that is not affected by the vulnerability. The latest version should include the necessary security patches and fixes.

Related vulnerabilities

Recent vulnerabilities recorded for org.jvnet.hudson.plugins:selection-tasks-plugin.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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