MODERATE 6.5

CVE-2017-1000095

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

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » script-security
< 1.29.1
1.29.1

Blast radius

1affected artifacts
37affected versions
348dependent artifacts (est.)
8,046dependent versions

33% of the dependent artifacts (118) still pull an affected version in their latest release.

DepthDependent versions
Direct
911
2 hops
4,434
3 hops
2,057
4 hops
632
5 hops
12

Most used dependents

Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Webjenkins.io