CVE-2020-2109 is a high-severity (CVSS 8.8) Improper Input Validation vulnerability in org.jenkins-ci.plugins.workflow:workflow-cps. A fix is available for org.jenkins-ci.plugins.workflow:workflow-cps — see the affected versions and patch details below.
Improper Input Validation in Jenkins Pipeline: Groovy Plugin
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.jenkins-ci.plugins.workflow:workflow-cpsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Sandbox protection in Jenkins Pipeline: Groovy Plugin 2.78 and earlier can be circumvented through default parameter expressions in CPS-transformed methods.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jenkins-ci.plugins.workflow:workflow-cps | all versions | 2.79org.jenkins-ci.plugins.workflow:workflow-cps:2.79 |
Affected Products
pipeline\jenkinsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jenkins-ci.plugins.workflow:workflow-cps, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jenkins-ci.plugins.workflow:workflow-cps to 2.79 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-2109 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | jenkins-2-plugins-0:3.11.1591354111-1.el7 | RHSA-2020:2478 |
| Red Hat OpenShift Container Platform 4.3 | jenkins-2-plugins-0:4.3.1597915133-1.el7 | RHSA-2020:3616 |
| Red Hat OpenShift Container Platform 4.4 | jenkins-2-plugins-0:4.4.1592817009-1.el7 | RHSA-2020:2737 |
| Red Hat OpenShift Container Platform 4.5 | openshift4/ose-aws-machine-controllers:v4.5.0-202007012112.p0 | RHBA-2020:2409 |
Frequently Asked Questions
Is CVE-2020-2109 in your dependencies?
Find it across Maven, including transitive dependencies.