CVE-2022-30945 json
Sandbox bypass vulnerability through implicitly allowlisted platform Groovy files in Jenkins Pipeline: Groovy Plugin
published 4y ago modified 4mo ago also GHSA-2xvx-rw9p-xgfc , EUVD-2022-2074
- cvss
- 8.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.jenkins-ci.plugins.workflow:workflow-cps 2692.v76b
- Jenkins project Jenkins Pipeline: Groovy Plugin 2.94.4, 2683.2687.vb_0cc3f973f06
- jenkins openshift 4.8 2.361.1.1672840472-1.el8
- jenkins-2-plugins openshift 4.8 4.8.1672842762-1.el8
red hat advisories RHSA-2023:0017
Is CVE-2022-30945 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-30945 updated cvss 8.5
plugin: Sandbox bypass vulnerability through implicitly allowlisted platform Groovy files in Pipeline: Groovy Plugin
-
Red Hat OpenShift Container Platform 3.11 jenkins-2-pluginsaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4.8 jenkins-2-plugins 4.8.1672842762-1.el8fixed: vendor fix RHSA-2023:0017
-
Red Hat OpenShift Container Platform 4.8 jenkins 2.361.1.1672840472-1.el8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.42% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins.workflow:workflow-cps | <2692.v76b |
2692.v76b |
Affected products
- Jenkins project Jenkins Pipeline: Groovy Plugin
Classification
References
-
jenkins.io
/security/advisory/2022-05-17/#SECURITY-359
web, patch, vendor-advisory
-
github.com
/jenkinsci/workflow-cps-plugin/commit/76a7681702f42d65f77bbaa5463f146876ea62db
web
-
github.com
/jenkinsci/workflow-cps-plugin/commit/76b089ccd026b68012b0deb30c217395f7ca7dc2
web
-
openwall.com
/lists/oss-security/2022/05/17/8
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-30945
advisory
-
github.com
/jenkinsci/workflow-cps-plugin
package
Sources
- CVE List CVE-2022-30945
- GitHub Advisory GHSA-2xvx-rw9p-xgfc
- NVD CVE-2022-30945
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.