CVE-2022-43402
A sandbox bypass vulnerability involving various casts performed implicitly by the Groovy language runtime in Jenkins Pipeline: Groovy Plugin 2802.v5ea_628154b_c2 and earlier allows attackers with permission 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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.jenkins-ci.plugins.workflow:workflow-cps | Fixed | 2803.v1a_f77ffcc773 | GHSA-mqc2-w9r8-mmxm |
What the vendor says
As published in the CVE record by jenkins, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Jenkins project Jenkins Pipeline: Groovy Plugin: affected: 2759.2761.vd6e8d2a_15980 not affected, 2746.2748.v365128b_c26d7 not affected, unspecified to 2802.v5ea_628154b_c2
References
- https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2824%20%281%29
- http://www.openwall.com/lists/oss-security/2022/10/19/3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.