CVE-2021-21617: CSRF vulnerability in Jenkins Configuration Slicing Plugin

Summary

24/05/2022
Yes i
High
8.8

CVE-2021-21617: CSRF vulnerability in Jenkins Configuration Slicing Plugin. Affects org.jenkins-ci.plugins:configurationslicing versions < 1.52. Fixed in 1.52. 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 Configuration Slicing Plugin is a Maven package (org.jenkins-ci.plugins:configurationslicing) that allows users to configure and manage multiple instances of a job or project in Jenkins. It provides a convenient way to slice and modify configurations for different jobs. However, versions 1.51 and earlier of the plugin have a vulnerability that allows cross-site request forgery (CSRF) attacks.

Vulnerability Detail

The CSRF vulnerability in the Configuration Slicing Plugin allows attackers to exploit the lack of POST request requirement for form submission, enabling them to perform unauthorized actions on the affected Jenkins instance. By tricking a user into visiting a malicious website or clicking on a specially crafted link, an attacker can modify the slice configurations of attacker-specified jobs. This can lead to unauthorized changes in job configurations, potentially compromising the integrity and security of the Jenkins environment.

How To Fix

Minimum fixed version

1.52

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 →

Conclusion

The CSRF vulnerability in the Jenkins Configuration Slicing Plugin (CVE-2021-21617) allows attackers to modify job configurations through unauthorized actions. To mitigate this vulnerability, it is recommended to upgrade to Configuration Slicing Plugin version 1.52 or later. For further support on vulnerability remediation, you can contact DevNack.com.

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

Share this vulnerability

FAQ

This vulnerability allows attackers to modify the slice configurations of attacker-specified jobs in Jenkins, potentially leading to unauthorized changes in job configurations.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Jenkins instance is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this CSRF vulnerability.

At the moment, there are no known workarounds for this vulnerability. It is recommended to upgrade to the latest version of the Configuration Slicing Plugin to mitigate the CSRF vulnerability.

There is no evidence of active exploitation of this vulnerability at the moment. However, it is crucial to apply the necessary security patches and updates to prevent potential attacks.

How To Fix

Minimum fixed version

1.52

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