CVE-2022-43403: Critical severity Jenkins Script Security Jenkins vulnerability
A sandbox bypass vulnerability involving casting an array-like value to an array type in Jenkins Script Security Plugin 1183.v774b0b0aa451 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.
Other sources
A sandbox bypass vulnerability was found in several Jenkins plugins. This could allow an authenticated attacker to execute arbitrary code within the Jenkins JVM controller. Exploitation could be achieved by crafting untrusted libraries or pipelines, compromising the integrity, availability, and confidentiality of Jenkins.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/jenkinsto a version that resolves this vulnerability.Fixed in 2-plugins-0:4.11.1683009941-1.el8 - Upgrade
Upgrade
redhat/jenkinsto a version that resolves this vulnerability.Fixed in 2-plugins-0:4.12.1675702407-1.el8 - Upgrade
Upgrade
redhat/jenkinsto a version that resolves this vulnerability.Fixed in 2-plugins-0:4.10.1675144701-1.el8 - Upgrade
Upgrade
redhat/jenkinsto a version that resolves this vulnerability.Fixed in 2-plugins-0:4.9.1675668922-1.el8 - Upgrade
Upgrade
maven/org.jenkins-ci.plugins:script-securityto a version that resolves this vulnerability.Fixed in 1184.v85d16b_d851b_3 - Upgrade
Upgrade
redhat/Script Security Pluginto a version that resolves this vulnerability.Fixed in 1184.
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2022-43403?
CVE-2022-43403 is considered a high severity vulnerability due to its ability to allow attackers to bypass sandbox protections.
How do I fix CVE-2022-43403?
To fix CVE-2022-43403, upgrade to Jenkins Script Security Plugin version 1184.v85d16b or later.
What versions of Jenkins are affected by CVE-2022-43403?
CVE-2022-43403 affects Jenkins Script Security Plugin versions up to and including 1183.v774b_0b_0a_a_451.
What type of vulnerability is CVE-2022-43403?
CVE-2022-43403 is a sandbox bypass vulnerability that can lead to arbitrary code execution.
Who can exploit CVE-2022-43403?
Attackers with permission to define and run sandboxed scripts in Jenkins can exploit CVE-2022-43403.