GHSA-m68x-cc2f-gr5h
Dashboard / Vulnerabilities / GHSA-m68x-cc2f-gr5h
Summary: Unsafe methods in the default list of approved signatures in Jenkins Script Security Plugin
Details: 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).
References: https://nvd.nist.gov/vuln/detail/CVE-2017-1000095, https://jenkins.io/security/advisory/2017-07-10
Affected packages
Package
Name: org.jenkins-ci.plugins:script-security
Purl: pkg:maven/org.jenkins-ci.plugins/script-security
Affected ranges
Type: ECOSYSTEM
Events:
