The default whitelist included the entries: DefaultGroovyMethods.putAt(Object, String, Object) DefaultGroovyMethods.getAt(Object, String) These allowed circumventing many of the access restrictions implemented in the script sandbox by using e.g. currentBuild['rawBuild'] rather than currentBuild.rawBuild. Additionally, the following entries allowed accessing private data that would not be accessible otherwise due to script security: groovy.json.JsonOutput.toJson(Closure) groovy.json.JsonOutput.toJson(Object) External References: https://jenkins.io/security/advisory/2017-07-10/
Acknowledgments: Name: the Jenkins project
Created jenkins-script-security-plugin tracking bugs for this issue: Affects: fedora-all [bug 1471061]
Statement: This issue affects the versions of jenkins-plugin-script-security as shipped with OpenShift Enterprise 3. However, this flaw is of low impact under the supported scenarios in OpenShift Enterprise 3. A future update may address this issue.