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-2022-22984 Vulnerability in npm package snyk-sbt-plugin
CVE-2023-46242 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore
CVE-2012-2145 Vulnerability in maven package org.apache.qpid:qpid-common
CVE-2023-37903 Vulnerability in npm package vm2
CVE-2014-8152 Vulnerability in maven package org.apache.santuario:xmlsec