CVE-2017-1000095

Medium

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

SeverityMedium
CVSS6.5
Exploit probability—
ProductJenkins Script Security
PublishedOct 5, 2017
First seenOct 5, 2017

How to fix

Update
  • org.jenkins-ci.plugins:script-security1.29.1 or later

Affected products

ProductAffected versionsFixed in
jenkins script_security1.34—
org.jenkins-ci.plugins:script-securityMavenv < 1.29.11.29.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.