GHSA-m68x-cc2f-gr5hMediumCVSS 6.5

Unsafe methods in the default list of approved signatures in Jenkins Script Security Plugin

Published
May 13, 2022
Last Modified
January 30, 2024

🔗 CVE IDs covered (1)

📋 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).

🎯 Affected products1

  • maven/org.jenkins-ci.plugins:script-security:<= 1.29

🔗 References (3)