CVE-2022-30945
mediumpriority · track · 34EPSS 0.014 · 73 %ileDEEUUSEPSS · scored 2026-10-27
Jenkins Pipeline: Groovy Plugin 2689.v434009a_31b_f1 and earlier allows loading any Groovy source files on the classpath of Jenkins and Jenkins plugins in sandboxed pipelines.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
- Red Hat OpenShift container platform 4.0.51all versionscert_bundDEcpe:/a:redhat:openshift:container_platform_4.0.51
- jenkins pipeline: groovy< 2689.v434009a_31b_f1nvdUScpe:2.3:a:jenkins:pipeline\:_groovy:*:*:*:*:*:*:*:*
- Maven org.jenkins-ci.plugins.workflow:workflow-cps< 2692.v76bosvUSpkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-0090Jenkins: Mehrere SchwachstellenDeutsch2022-05-17csaf · cert_bundDE
Ein entfernter, anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in Jenkins ausnutzen, um Sicherheitsmaßnahmen zu umgehen, beliebigen Code auszuführen, einen Cross-Site-Scripting-Angriff durchzuführen, vertrauliche Informationen offenzulegen und Daten zu manipulieren.
- GHSA-2xvx-rw9p-xgfcSandbox bypass vulnerability through implicitly allowlisted platform Groovy files in Jenkins Pipeline: Groovy Plugin2022-05-18ghsa · osvUS
Pipeline: Groovy Plugin allows pipelines to load Groovy source files. This is intended to be used to allow Global Shared Libraries to execute without sandbox protection. In Pipeline: Groovy Plugin 2689.v434009a_31b_f1 and earlier, any Groovy source files bundled with Jenkins core and plugins could 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. The Jenkins security team has been unable to identify any Groovy source files in Jenkins core or plugins that would allow attackers to execute dangerous code. While the severity of this issue is declared as High due to the potential impact, successful exploitation is considered very unlikely. Pipeline: Groovy Plugin 2692.v76b_089ccd026 restricts which Groovy source files can be loaded in Pipelines. Groovy source files in public plugins intended to be executed in sandboxed pipelines have been identified and added to an allowlist. The new extension point `org.jenkinsci.plugins.workflow.cps.GroovySourceFileAllowlist` allows plugins to add specific Groovy source files to that allowlist if necessary, but creation of plugin-specific Pipeline DSLs is strongly discouraged.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2022/05/17/8cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-30945/cnnvd
- https://packetstormsecurity.com/files/170511/Red-Hat-Security-Advisory-2023-0017-01.htmlcnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022051806cnnvd
- https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-359cnnvd
- http://www.openwall.com/lists/oss-security/2022/05/17/8enisa_euvd
- https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-359enisa_euvd
- http://www.openwall.com/lists/oss-security/2022/05/17/8Mailing ListThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan