QID 997349
Date Published: 2024-02-20
QID 997349: Java (Maven) Security Update for org.jenkins-ci.plugins:script-security (GHSA-m68x-cc2f-gr5h)
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).
Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.
Solution
Refer to Github security advisory GHSA-m68x-cc2f-gr5h for updates and patch information.
Vendor References
- GHSA-m68x-cc2f-gr5h -
github.com/advisories/GHSA-m68x-cc2f-gr5h
CVEs related to QID 997349
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-m68x-cc2f-gr5h | org.jenkins-ci.plugins:script-security |
|