CVE-2017-1000095
Description
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).
How to fix
- org.jenkins-ci.plugins:script-security1.29.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jenkins script_security | 1.34 | — |
| org.jenkins-ci.plugins:script-securityMaven | v < 1.29.1 | 1.29.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.