Skip to content
Fencer Vulns
high 8.5

CVE-2022-30945 json

Sandbox bypass vulnerability through implicitly allowlisted platform Groovy files in Jenkins Pipeline: Groovy Plugin

published 2022-05-17 4 y ago modified 2026-06-17 4 mo 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

Vendor 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-plugins
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4.8 jenkins-2-plugins 4.8.1672842762-1.el8
    fixed: vendor fix RHSA-2023:0017
  • Red Hat OpenShift Container Platform 4.8 jenkins 2.361.1.1672840472-1.el8
    not 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-08).

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

Weakness
  • CWE-434 Unrestricted Upload of File with Dangerous Type
  • CWE-552 Files or Directories Accessible to External Parties

References

Sources

Fencer Vulns 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.