CVE-2024-34145
highpriority · track · 0EPSS 0.010 · 63 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
- Maven org.jenkins-ci.plugins:script-security< 1336.vf33aosvUSpkg:maven/org.jenkins-ci.plugins/script-security
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1018Jenkins: Mehrere SchwachstellenDeutsch2024-05-02csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Jenkins ausnutzen, um beliebigen Code im Kontext des Dienstes auszuführen, Sicherheitsmaßnahmen zu umgehen oder vertrauliche Informationen offenzulegen.
- GHSA-2g4q-9vm9-9fw4Jenkins Script Security Plugin sandbox bypass vulnerability2024-05-02ghsa · osvUS
Jenkins Script Security Plugin provides a sandbox feature that allows low privileged users to define scripts, including Pipelines, that are generally safe to execute. Calls to code defined inside a sandboxed script are intercepted, and various allowlists are checked to determine whether the call is to be allowed. Multiple sandbox bypass vulnerabilities exist in Script Security Plugin 1335.vf07d9ce377a_e and earlier: - Crafted constructor bodies that invoke other constructors can be used to construct any subclassable type via implicit casts. - Sandbox-defined Groovy classes that shadow specific non-sandbox-defined classes can be used to construct any subclassable type. These vulnerabilities allow 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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2024/05/02/3cnnvd
- https://access.redhat.com/security/cve/cve-2024-34145cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-34145/cnnvd
- https://vigilance.fr/vulnerability/Jenkins-Plugins-multiple-vulnerabilities-dated-02-05-2024-44198cnnvd
- https://www.jenkins.io/security/advisory/2024-05-02/#SECURITY-3341cnnvd
- http://www.openwall.com/lists/oss-security/2024/05/02/3enisa_euvd
- https://www.jenkins.io/security/advisory/2024-05-02/#SECURITY-3341enisa_euvd
- http://www.openwall.com/lists/oss-security/2024/05/02/3Mailing Listnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan