GitHub Advisory Database
GHSA-f6mq-6fx5-w2ch
Jenkins Script Security Plugin sandbox bypass vulnerability
Details
A sandbox bypass vulnerability involving casting an array-like value to an array type in Jenkins Script Security Plugin 1183.v774b_0b_0a_a_451 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. Script Security Plugin 1184.v85d16b_d851b_3 intercepts per-element casts when casting array-like values to array types.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins:script-security | All versions before 1184.v85d16b_d851b_3 (fixed in 1184.v85d16b_d851b_3) |