Description
In Jenkins Script Security Plugin version 1.36 and earlier, users with the ability to configure sandboxed Groovy scripts are able to use a type coercion feature in Groovy to create new `File` objects from strings. This allowed reading arbitrary files on the Jenkins master file system. Such a type coercion is now subject to sandbox protection and considered to be a call to the `new File(String)` constructor for the purpose of in-process script approval.
Remediation
References
https://jenkins.io/security/advisory/2017-12-11/
Related Vulnerabilities
CVE-2013-4271 Vulnerability in maven package org.restlet:org.restlet
CVE-2021-21694 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2017-1000388 Vulnerability in maven package org.jenkins-ci.plugins:depgraph-view
CVE-2014-3579 Vulnerability in maven package org.apache.activemq:apollo-selector
CVE-2022-34184 Vulnerability in maven package org.jenkins-ci.plugins:crx-content-package-deployer