CVE-2022-43402
jenkins-plugin/workflow-cps: Sandbox bypass vulnerabilities in Pipeline: Groovy Plugin
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Red Hat.
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.jenkins-ci.plugins.workflow:workflow-cps | 2803.v1a_f77ffcc773 |
| Red Hat | jenkins-2-plugins | no fix listed |
References
- http://www.openwall.com/lists/oss-security/2022/10/19/3
- https://access.redhat.com/security/cve/CVE-2022-43402
- https://nvd.nist.gov/vuln/detail/CVE-2022-43402
- https://www.cve.org/CVERecord?id=CVE-2022-43402
- https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2824%20%281%29
- https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2824%20(1)