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-2018-8035 Vulnerability in maven package org.apache.uima:uima-ducc-web
CVE-2019-0205 Vulnerability in maven package org.webjars.npm:thrift
CVE-2022-41678 Vulnerability in maven package org.apache.activemq:apache-activemq
CVE-2023-20861 Vulnerability in maven package org.springframework:spring-expression
CVE-2014-7810 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core