{"id":"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).","aliases":["CVE-2017-1000095"],"modified":"2024-02-18T05:32:27.070009Z","published":"2022-05-13T01:40:54Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-01-30T22:46:07Z","nvd_published_at":"2017-10-05T01:29:00Z","cwe_ids":["CWE-732"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000095"},{"type":"WEB","url":"https://jenkins.io/security/advisory/2017-07-10"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:script-security","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/script-security"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29.1"}]}],"versions":["1.0","1.0-beta-1","1.0-beta-2","1.0-beta-3","1.0-beta-4","1.0-beta-5","1.0-beta-6","1.1","1.10","1.11","1.12","1.13","1.14","1.15","1.16","1.17","1.18","1.18.1","1.19","1.2","1.20","1.21","1.22","1.23","1.24","1.25","1.26","1.27","1.28","1.29","1.3","1.4","1.5","1.6","1.7","1.8","1.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 1.29","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-m68x-cc2f-gr5h/GHSA-m68x-cc2f-gr5h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}