# CVE-2022-25182: Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure

Source: https://junglewise.ai/threats/cve-2022-25182-jenkins-pipeline-deprecated-groovy-libraries-plugin-protection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-16  
License: CC BY 4.0 with a link back

CVE-2022-25182 · Severity: low · CVSS 3.1 · Published 2022-02-16

Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure

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

## Quick answers

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

**How severe is CVE-2022-25182?** Low severity, with a CVSS score of 3.1, published 16 February 2022.

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

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

**Am I affected by CVE-2022-25182?** Check whether you run org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (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-global-lib (Maven): upgrade to 561.va_ce0de3c2d69 or later

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


## Affected products

- org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) ECOSYSTEM:introduced=0,fixed=561.va_ce0de3c2d69

## Identifiers

- CVE-2022-25182
- GHSA-7rcw-fwfh-2h2g

## Related threats

- [Sandbox bypass vulnerability in Jenkins Pipeline: Deprecated Groovy Libraries Plugin](https://junglewise.ai/threats/cve-2022-43406-sandbox-bypass-vulnerability-in-jenkins-pipeline-deprecated)
- [Sandbox bypass vulnerability in Jenkins Pipeline: Groovy Libraries Plugin and Pipeline: Deprecated Groovy Libraries Plugin](https://junglewise.ai/threats/cve-2022-43405-sandbox-bypass-vulnerability-in-jenkins-pipeline-groovy-libraries)
- [Missing Authorization in Jenkins Pipeline: Shared Groovy Libraries Plugin](https://junglewise.ai/threats/cve-2019-10357-missing-authorization-in-jenkins-pipeline-shared-groovy-libraries)
- [Untrusted users can modify some Pipeline libraries in Jenkins Pipeline: Deprecated Groovy Libraries Plugin](https://junglewise.ai/threats/cve-2022-29047-untrusted-users-can-modify-some-pipeline-libraries-in-jenkins)
- [Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Shared Groovy Libraries Plugin](https://junglewise.ai/threats/cve-2022-25174-improper-neutralization-of-special-elements-used-in-an-os-command)
