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.
Remediation
References
http://www.openwall.com/lists/oss-security/2022/10/19/3
https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2824%20%281%29
Related Vulnerabilities
CVE-2021-40110 Vulnerability in maven package org.apache.james:james-server
CVE-2020-11050 Vulnerability in maven package org.java-websocket:java-websocket
CVE-2019-16772 Vulnerability in maven package org.webjars.npm:serialize-to-js
CVE-2023-40813 Vulnerability in maven package org.opencrx:opencrx-core-models
CVE-2019-0232 Vulnerability in maven package org.apache.tomcat:tomcat-catalina