Vulnerability
CVE-2017-1000095
The default whitelist included the following unsafe 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).
2 advisories report this vulnerability, across 2 ecosystems.
Advisories
-
GHSA-m68x-cc2f-gr5h
Unsafe methods in the default list of approved signatures in Jenkins Script Security Plugin
-
RHEA-2017:1716
Red Hat Enhancement Advisory: Red Hat OpenShift Container Platform 3.6 RPM Release Advisory