CVE-2022-43403 Jenkins Script Security Plugin sandbox bypass vulnerability
Attackers with script permissions can bypass sandbox restrictions to execute arbitrary code on the Jenkins controller.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-43403?
CVE-2022-43403 is a critical vulnerability in Jenkins Script Security Plugin, published on 19 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A sandbox bypass vulnerability involving casting an array-like value to an array type 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.
Which versions are affected by CVE-2022-43403?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:script-security. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:script-security Maven | All versions | 1184.v85d16b_d851b_3 |
org.jenkins-ci.plugins:script-security Maven | All versions | 1184.v85d16b_d851b_3 |
Products include Jenkins Script Security.
How do I fix CVE-2022-43403?
Upgrade org.jenkins-ci.plugins:script-security to 1184.v85d16b_d851b_3 or later.
Is CVE-2022-43403 being exploited?
There is no known exploitation of CVE-2022-43403 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Script Security Plugin
- CVE-2019-1003029 Jenkins Script Security Plugin Sandbox Bypass
- CVE-2022-43401 Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
- CVE-2022-43404 Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
- CVE-2020-2279 Sandbox bypass vulnerability in Jenkins Script Security Plugin
- CVE-2019-10431 Improper Control of Generation of Code in Jenkins Script Security Plugin
Sources
Also known as GHSA-f6mq-6fx5-w2ch.