CVE-2022-30945: High severity jenkins pipeline vulnerability

Published May 17, 2022
·
Updated

Jenkins Pipeline: Groovy Plugin 2689.v434009a31bf1 and earlier allows loading any Groovy source files on the classpath of Jenkins and Jenkins plugins in sandboxed pipelines.

Other sources

A flaw was found in Jenkins Groovy Plugin. The plugin allows pipelines to load Groovy source files. The intent is to allow Global Shared Libraries to execute without sandbox protection. The issue is that the plugin allows any Groovy source files bundled with Jenkins core and plugins to be loaded this way and their methods executed. If a suitable Groovy source file is available on the classpath of Jenkins, sandbox protections can be bypassed. No Groovy source files were found in Jenkins core or plugins that could result in attackers executing dangerous code; hence successful exploitation is considered highly unlikely.

Affected Software

3 affected componentsFixes available
redhat/jenkins<2-plugins-0:4.8.1672842762-1.el8
2-plugins-0:4.8.1672842762-1.el8
redhat/Pipeline Groovy Plugin<2692.
2692.
Jenkins Pipeline\<2689.v434009a_31b_f1

Event History

May 17, 2022
CVE Published
12:00 AM
CVE Published
via MITRE·02:05 PM
Data Sourced
via MITRE·02:05 PM
Description

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-30945?

CVE-2022-30945 is classified as a high severity vulnerability due to its potential impact on Jenkins installations.

2

How do I fix CVE-2022-30945?

To fix CVE-2022-30945, upgrade the Jenkins Pipeline: Groovy Plugin to version 2689.v434009a_31b_f2 or later.

3

What impact does CVE-2022-30945 have on Jenkins security?

CVE-2022-30945 allows unauthorized loading of Groovy source files in sandboxed pipelines, potentially leading to code execution risk.

4

Which versions of Jenkins are affected by CVE-2022-30945?

CVE-2022-30945 affects Jenkins Pipeline: Groovy Plugin versions 2689.v434009a_31b_f1 and earlier.

5

Can CVE-2022-30945 lead to remote code execution?

Yes, CVE-2022-30945 can potentially lead to remote code execution through the exploitation of Groovy scripts 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