CVE-2017-1000095

jenkins-plugin-script-security: Unsafe methods in the default whitelist (SECURITY-538)

Published Oct 4, 2017 CVSS 3.0 · 6.5 Medium EPSS < 1% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 9:53 PM
Reserved
Jul 13, 2017, 12:00 AM
Status
Modified
Published
Oct 5, 2017, 1:29 AM
Modified
Jun 17, 2026, 12:58 AM
Severity
Important
Public date
Jul 10, 2017, 12:00 AM