CVE-2024-34144 Jenkins Script Security Plugin has sandbox bypass vulnerability involving crafted constructor bodies
Attackers with script permissions can bypass sandbox restrictions to execute arbitrary code on the Jenkins controller.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-34144?
CVE-2024-34144 is a critical vulnerability in Jenkins Script Security Plugin, published on 2 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A sandbox bypass vulnerability involving crafted constructor bodies 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-693
Which versions are affected by CVE-2024-34144?
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-34144?
Upgrade org.jenkins-ci.plugins:script-security to 1336.vf33a or later.
Is CVE-2024-34144 being exploited?
There is no known exploitation of CVE-2024-34144 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
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-v63g-v339-2673.