CVE-2024-34145 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-2024-34145?
CVE-2024-34145 is a high-severity vulnerability in Jenkins Script Security Plugin, published on 2 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A sandbox bypass vulnerability involving sandbox-defined classes that shadow specific non-sandbox-defined classes in Jenkins Script Security Plugin 1335.vf07d9ce377a_e 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.
Weakness: CWE-290
Which versions are affected by CVE-2024-34145?
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 | 1336.vf33a |
org.jenkins-ci.plugins:script-security Maven | All versions | 1336.vf33a |
Products include Jenkins Script Security.
How do I fix CVE-2024-34145?
Upgrade org.jenkins-ci.plugins:script-security to 1336.vf33a or later.
Is CVE-2024-34145 being exploited?
There is no known exploitation of CVE-2024-34145 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-43403 Jenkins Script Security Plugin sandbox bypass vulnerability
- 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
Sources
Also known as GHSA-2g4q-9vm9-9fw4.