CVE-2022-43405: Sandbox bypass vulnerability in Jenkins Pipeline: Groovy Libraries Plugin and Pipeline: Deprecated Groovy Libraries Plugin

CVE-2022-43405 · Severity: low · CVSS 3.1 · Published 2022-10-19

Sandbox bypass vulnerability in Jenkins Pipeline: Groovy Libraries Plugin and Pipeline: Deprecated Groovy Libraries Plugin

Technologies: io.jenkins.plugins:pipeline-groovy-lib (Maven), org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven). Vendors: Maven.

Quick answers

Is CVE-2022-43405 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-43405 being exploited in the wild.
How severe is CVE-2022-43405?
Low severity, with a CVSS score of 3.1, published 19 October 2022.
Which products and versions are affected?
io.jenkins.plugins:pipeline-groovy-lib (Maven) ECOSYSTEM:introduced=0,fixed=613.v9c41a_160233f; org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) ECOSYSTEM:introduced=0,fixed=588.v576c103a_ff86.
Is there a fix for CVE-2022-43405?
Yes. io.jenkins.plugins:pipeline-groovy-lib (Maven): upgrade to 613.v9c41a_160233f or later; org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven): upgrade to 588.v576c103a_ff86 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-43405?
Check whether you run io.jenkins.plugins:pipeline-groovy-lib (Maven) or 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

  • io.jenkins.plugins:pipeline-groovy-lib (Maven): upgrade to 613.v9c41a_160233f or later
    # set io.jenkins.plugins:pipeline-groovy-lib to 613.v9c41a_160233f in your pom.xml or build.gradle
  • org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven): upgrade to 588.v576c103a_ff86 or later
    # set org.jenkins-ci.plugins.workflow:workflow-cps-global-lib to 588.v576c103a_ff86 in your pom.xml or build.gradle

Affected products

  • io.jenkins.plugins:pipeline-groovy-lib (Maven) ECOSYSTEM:introduced=0,fixed=613.v9c41a_160233f
  • org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) ECOSYSTEM:introduced=0,fixed=588.v576c103a_ff86

Identifiers

  • CVE-2022-43405
  • GHSA-4hjj-9gp7-4frg

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.