{"id":"CVE-2024-34145","aliases":["CVE-2024-34145","GHSA-2g4q-9vm9-9fw4"],"related":[],"kind":"vulnerability","state":"published","title":"Jenkins Script Security Plugin sandbox bypass vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nMultiple sandbox bypass vulnerabilities exist in Script Security Plugin 1335.vf07d9ce377a_e and earlier:\n\n- Crafted constructor bodies that invoke other constructors can be used to construct any subclassable type via implicit casts.\n\n- Sandbox-defined Groovy classes that shadow specific non-sandbox-defined classes can be used to construct any subclassable type.\n\nThese 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de omisión de la sandbox que involucra clases definidas en la sandbox que ocultan clases específicas no definidas en la sandbox en Jenkins Script Security Plugin 1335.vf07d9ce377a_e y versiones anteriores permite a atacantes con permiso para definir y ejecutar scripts en la sandbox, incluidos Pipelines, para eludir la protección de la sandbox y ejecutar de forma arbitraria. código en el contexto de la JVM del controlador Jenkins.","source":"nvd"}],"published":"2024-05-02T13:28:03.965Z","modified":"2026-08-07T08:12:14.768Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-290"],"affected":[{"ranges":[{"type":"maven","introduced":"0","lastAffected":"1335.vf07d9ce377a_e","status":"affected"}],"vendor":"Jenkins Project","product":"Jenkins Script Security Plugin","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"1335.vf07d9ce377a_e","status":"affected"}],"vendor":"jenkins","product":"script_security","cpe":"cpe:2.3:a:jenkins:script_security:*:*:*:*:*:jenkins:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1336.vf33a"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:script-security","purl":"pkg:maven/org.jenkins-ci.plugins/script-security","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1335.vf07d9ce377a_e"}],"vendor":"jenkins","product":"script_security","cpe":"cpe:2.3:a:jenkins:script_security:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2024-05-02/#SECURITY-3341","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/05/02/3","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34145","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-05-02T15:32:34.219Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34145","url":"https://www.cve.org/CVERecord?id=CVE-2024-34145","licence":"CVE Terms of Use","modified":"2025-02-13T17:52:25.384Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2g4q-9vm9-9fw4","url":"https://github.com/advisories/GHSA-2g4q-9vm9-9fw4","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:14.768Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34145","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34145","licence":"Public domain","modified":"2026-06-17T07:32:59.617Z"}],"updatedAt":"2026-11-25T22:58:39.847Z","epss":{"score":0.01002,"percentile":0.63831,"date":"2026-12-01T12:00:22.000Z"}}