CVE-2022-43402: Critical severity Jenkins Pipeline\ vulnerability

Published Oct 19, 2022
·
Updated

A sandbox bypass vulnerability involving various casts performed implicitly by the Groovy language runtime in Jenkins Pipeline: Groovy Plugin 2802.v5ea628154bc2 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.

Other sources

A sandbox bypass vulnerability was found in several Jenkins plugins. This could allow an authenticated attacker to execute arbitrary code within the Jenkins JVM controller. Exploitation could be achieved by crafting untrusted libraries or pipelines, compromising the integrity, availability, and confidentiality of Jenkins.

Affected Software

7 affected componentsFixes available
redhat/jenkins<2-plugins-0:4.11.1683009941-1.el8
2-plugins-0:4.11.1683009941-1.el8
redhat/jenkins<2-plugins-0:4.12.1675702407-1.el8
2-plugins-0:4.12.1675702407-1.el8
redhat/jenkins<2-plugins-0:4.10.1675144701-1.el8
2-plugins-0:4.10.1675144701-1.el8
redhat/jenkins<2-plugins-0:4.9.1675668922-1.el8
2-plugins-0:4.9.1675668922-1.el8
maven/org.jenkins-ci.plugins.workflow:workflow-cps<2803.v1a
2803.v1a_f77ffcc773
redhat/Pipeline Groovy Plugin<2803.
2803.
Jenkins Pipeline\<=2802.v5ea_628154b_c2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 2-plugins-0:4.11.1683009941-1.el8
  2. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 2-plugins-0:4.12.1675702407-1.el8
  3. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 2-plugins-0:4.10.1675144701-1.el8
  4. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 2-plugins-0:4.9.1675668922-1.el8
  5. Upgrade

    Upgrade maven/org.jenkins-ci.plugins.workflow:workflow-cps to a version that resolves this vulnerability.

    Fixed in 2803.v1a_f77ffcc773
  6. Upgrade

    Upgrade redhat/Pipeline Groovy Plugin to a version that resolves this vulnerability.

    Fixed in 2803.

Event History

Oct 19, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:15 PM
DescriptionSeverityAffected Software
Advisory Published
07:00 PM
Oct 20, 2022
Data Sourced
via Red Hat·06:25 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-43402?

CVE-2022-43402 has been categorized as a critical vulnerability allowing sandbox bypass in Jenkins.

2

How do I fix CVE-2022-43402?

To mitigate CVE-2022-43402, upgrade to Jenkins Pipeline: Groovy Plugin version 2803.v1a_f77ffcc773 or later.

3

What does CVE-2022-43402 affect?

CVE-2022-43402 affects Jenkins users who utilize the Groovy language runtime in sandboxed scripts, specifically in versions prior to 2803.

4

Who can exploit CVE-2022-43402?

Attackers with permission to define and run sandboxed scripts in Jenkins are able to exploit CVE-2022-43402.

5

What is the main issue with CVE-2022-43402?

The main issue with CVE-2022-43402 is that it allows attackers to bypass sandbox protection, compromising script security in Jenkins.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203