CVE-2022-43405: Critical severity Jenkins Groovy Libraries Jenkins vulnerability

Published Oct 19, 2022
·
Updated

A sandbox bypass vulnerability in Jenkins Pipeline: Groovy Libraries Plugin 612.v84da9c54906d and earlier allows attackers with permission to define untrusted Pipeline libraries and 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
Jenkins Groovy Libraries Jenkins<=612.v84da_9c54906d
redhat/Pipeline Groovy Libraries Plugin<613.
613.
redhat/Pipeline Groovy Libraries Plugin<612.614.
612.614.

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 redhat/Pipeline Groovy Libraries Plugin to a version that resolves this vulnerability.

    Fixed in 613.
  6. Upgrade

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

    Fixed in 612.614.

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
Oct 20, 2022
Data Sourced
via Red Hat·05:55 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-43405?

CVE-2022-43405 is classified as a high severity vulnerability due to its potential for arbitrary code execution.

2

How do I fix CVE-2022-43405?

To remediate CVE-2022-43405, update Jenkins Pipeline: Groovy Libraries Plugin to version 612.v84da_9c54906d or later.

3

What are the affected versions for CVE-2022-43405?

CVE-2022-43405 affects Jenkins Pipeline: Groovy Libraries Plugin versions up to and including 612.v84da_9c54906d.

4

Can CVE-2022-43405 be exploited remotely?

Yes, attackers with the required permissions can exploit CVE-2022-43405 remotely by defining untrusted Pipeline libraries.

5

What actions can be taken to mitigate CVE-2022-43405?

To mitigate CVE-2022-43405, ensure that only trusted users have permission to define untrusted Pipeline libraries 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