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).
Advisories
Source ID Title
EUVD EUVD EUVD-2022-4503 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).
Github GHSA Github GHSA GHSA-m68x-cc2f-gr5h Unsafe methods in the default list of approved signatures in Jenkins Script Security Plugin
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T21:53:06.664Z

Reserved: 2017-07-13T00:00:00

Link: CVE-2017-1000095

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-10-05T01:29:03.883

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-1000095

cve-icon Redhat

Severity : Important

Publid Date: 2017-07-10T00:00:00Z

Links: CVE-2017-1000095 - Bugzilla

cve-icon OpenCVE Enrichment

No data.