First published: Wed Oct 19 2022(Updated: )
A sandbox bypass vulnerability involving various casts performed implicitly by the Groovy language runtime in Jenkins Script Security Plugin 1183.v774b_0b_0a_a_451 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.
Credit: jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/Script Security Plugin | <1184. | 1184. |
redhat/jenkins | <2-plugins-0:4.11.1683009941-1.el8 | 2-plugins-0:4.11.1683009941-1.el8 |
redhat/jenkins | <2-plugins-0:4.12.1675702407-1.el8 | 2-plugins-0:4.12.1675702407-1.el8 |
redhat/jenkins | <2-plugins-0:4.10.1675144701-1.el8 | 2-plugins-0:4.10.1675144701-1.el8 |
redhat/jenkins | <2-plugins-0:4.9.1675668922-1.el8 | 2-plugins-0:4.9.1675668922-1.el8 |
Jenkins Script Security | <=1183.v774b_0b_0a_a_451 | |
maven/org.jenkins-ci.plugins.workflow:workflow-cps | <=2802.v5ea | 2803.v1a_f77ffcc773 |
maven/org.jenkins-ci.plugins:script-security | <1184.v85d16b | 1184.v85d16b_d851b_3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
CVE-2022-43401 is classified as a high-severity vulnerability due to its potential to bypass sandbox protections.
To fix CVE-2022-43401, upgrade the Script Security Plugin to version 1184 or later.
CVE-2022-43401 affects Jenkins Script Security Plugin versions up to and including 1183.v774b_0b_0a_451.
CVE-2022-43401 can be exploited by attackers with permissions to run sandboxed scripts, allowing them to bypass the security measures in place.
Yes, a permanent solution for CVE-2022-43401 is to update to the patched version of the Script Security Plugin.