CVE-2024-34145
Jenkins Script Security Plugin sandbox bypass vulnerability
Reported by jenkins · Published May 2, 2024
script-security is fixed in 1336.vf33a (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins:script-security | Maven Central | 1336.vf33a |
| jenkins | Wolfi | 2.458-r0 |
| jenkins | Chainguard | 2.458-r0 |
| script_security | jenkins | 1335.vf07d9ce377a_e |
| Jenkins Script Security Plugin | Jenkins Project | 1335.vf07d9ce377a_e |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Jenkins Project | Jenkins Script Security Plugin | 0 |
| jenkins | script_security | 0 |
| Maven | org.jenkins-ci.plugins:script-security | 0 |
| wolfi | jenkins | 0 |
| chainguard | jenkins | 0 |
| Jenkins Project | Jenkins Script Security Plugin | 0 |
Timeline
- May 2, 2024 CVE Published
- May 3, 2024 EPSS Score (30 in total, the first dated here)
- Jul 3, 2024 CVE Updated
- Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
- Mar 17, 2026 Security Advisory (5 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-34145
vulnetix vdb fixes CVE-2024-34145
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-34145/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- Jenkins Security Advisory 2024-05-02 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-34145 advisory
- https://github.com/advisories/GHSA-2g4q-9vm9-9fw4 advisory