CVE-2023-28677

Jenkins Convert To Pipeline Plugin 1.0 and earlier uses basic string concatenation to convert Freestyle projects' Build Environment, Build Steps, and…

Critical · published March 23, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
55.4
In the wild
Unconfirmed
What it is

🚨 A crafty configuration is all it takes to unleash an unsandboxed Pipeline script! The Jenkins Convert To Pipeline Plugin prior to version 1.1 is an open invitation for attackers to slip in malicious code. 🔥 Think of it as a restaurant where the chef is asked to follow a recipe without checking any of the ingredients — if someone sneaks in a recipe with a toxic ingredient, it could ruin the entire meal! In a worst-case scenario, an attacker could transform a harmless Freestyle project into a malicious Pipeline, executing harmful scripts and compromising your entire Jenkins instance. This could lead to unauthorized access, data loss, or even total control of your CI/CD environment. The stakes are high!

Put simply

Think of it as a restaurant where the chef is asked to follow a recipe without checking any of the ingredients — if someone sneaks in a recipe with a toxic ingredient, it could ruin the entire meal! This vulnerability arises from how the Jenkins Convert To Pipeline Plugin converts Freestyle project configurations using basic string concatenation, allowing attackers to inject unvalidated Pipeline script code.

What to do

In a worst-case scenario, an attacker could transform a harmless Freestyle project into a malicious Pipeline, executing harmful scripts and compromising your entire Jenkins instance. This could lead to unauthorized access, data loss, or even total control of your CI/CD environment. The stakes are high! Immediately update the plugin to version 1.1 or later to mitigate this risk. Review your Freestyle project configurations for any potential unsandboxed code and implement stringent access controls to limit who can configure projects. 🛡️ You've got this! With the right actions, you can secure your Jenkins environment and keep your projects safe! 💪✨

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00779 · 55.4th percentile
Published
2023-03-23T11:26Z
EPSS history
Timeline
  • 23 MAR 11:26Z
    Jenkins Convert To Pipeline Plugin 1.0 and earlier uses basic string concatenation to convert Freestyle projects' Build Environment, Build Steps, and…
    cvelistv5