Vulnerabilities · 2017 · Jenkins
CVE-2017-1000095
Jenkins Script Security vulnerability
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).
Affected products
Script Security. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jenkins Script Security runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Jenkins products
CVE-2025-67643CVE-2025-67642CVE-2025-67641CVE-2025-67640CVE-2025-67639CVE-2025-67638CVE-2025-67637CVE-2025-67636All 1,739
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.