# CVE-2020-2109: Improper Input Validation in Jenkins Pipeline: Groovy Plugin

Source: https://junglewise.ai/threats/cve-2020-2109-improper-input-validation-in-jenkins-pipeline-groovy-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2020-2109 · Severity: low · CVSS 3.1 · Published 2022-05-24

Improper Input Validation in Jenkins Pipeline: Groovy Plugin

Technologies: [org.jenkins-ci.plugins.workflow:workflow-cps (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-workflow-workflow-cps). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2020-2109 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-2109 being exploited in the wild.

**How severe is CVE-2020-2109?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** org.jenkins-ci.plugins.workflow:workflow-cps (Maven) ECOSYSTEM:introduced=0,fixed=2.79.

**Is there a fix for CVE-2020-2109?** Yes. org.jenkins-ci.plugins.workflow:workflow-cps (Maven): upgrade to 2.79 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-2109?** Check whether you run org.jenkins-ci.plugins.workflow:workflow-cps (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins.workflow:workflow-cps (Maven): upgrade to 2.79 or later

  ```sh
  # set org.jenkins-ci.plugins.workflow:workflow-cps to 2.79 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins.workflow:workflow-cps (Maven) ECOSYSTEM:introduced=0,fixed=2.79

## Identifiers

- CVE-2020-2109
- GHSA-99mf-f3qh-wqrp

## Related threats

- [Rebuilding a run with revoked script approval allowed by Jenkins Pipeline: Groovy Plugin](https://junglewise.ai/threats/cve-2024-52550-rebuilding-a-run-with-revoked-script-approval-allowed-by-jenkins)
- [Jenkins Pipeline: Groovy Plugin allows sandbox protection bypass and arbitrary code execution](https://junglewise.ai/threats/cve-2022-43402-jenkins-pipeline-groovy-plugin-allows-sandbox-protection-bypass)
- [Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin](https://junglewise.ai/threats/cve-2022-43404-sandbox-bypass-vulnerabilities-in-jenkins-script-security-plugin)
- [Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin](https://junglewise.ai/threats/cve-2022-43401-sandbox-bypass-vulnerabilities-in-jenkins-script-security-plugin)
- [Sandbox bypass vulnerability through implicitly allowlisted platform Groovy files in Jenkins Pipeline: Groovy Plugin](https://junglewise.ai/threats/cve-2022-30945-sandbox-bypass-vulnerability-through-implicitly-allowlisted)
