CVE-2022-43402

Critical

Description

A sandbox bypass vulnerability involving various casts performed implicitly by the Groovy language runtime in Jenkins Pipeline: Groovy Plugin 2802.v5ea_628154b_c2 and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.

SeverityCritical
CVSS9.9
Exploit probability—
ProductJenkins Pipeline\
PublishedOct 19, 2022
First seenOct 19, 2022

How to fix

Update
  • org.jenkins-ci.plugins.workflow:workflow-cps2803.v1a_f77ffcc773 or later

Affected products

ProductAffected versionsFixed in
jenkins pipeline\_groovy ≤ v ≤ 2802.v5ea_628154b_c2—
org.jenkins-ci.plugins.workflow:workflow-cpsMavenv < 2803.v1a_f77ffcc7732803.v1a_f77ffcc773

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.