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-2023-33937 Vulnerability in maven package com.liferay:com.liferay.dynamic.data.mapping.form.web
CVE-2021-22137 Vulnerability in maven package org.elasticsearch:elasticsearch
CVE-2023-32986 Vulnerability in maven package io.jenkins.plugins:file-parameters
CVE-2023-35926 Vulnerability in npm package @backstage/plugin-scaffolder-backend
CVE-2017-7672 Vulnerability in maven package org.apache.struts:struts2-core