Vulnerability in Jenkins Script Security
CVE-2017-1000095
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.008 · 57.7th percentile
- Published
- 2017-10-05
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.008, 57.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Jenkins Script Security — versions 1.34
Weakness classification (CWE)
References
- jenkins.io/security/advisory/2017-07-10/ (Vendor Advisory)