Exposure of Sensitive Information to an Unauthorized Actor Jenkins Script Security Plugin
Moderate severity
GitHub Reviewed
Published
May 14, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Package
Affected versions
<= 1.36
Patched versions
1.37
Description
Published by the National Vulnerability Database
Jan 25, 2018
Published to the GitHub Advisory Database
May 14, 2022
Reviewed
Jul 1, 2022
Last updated
Jan 27, 2023
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 thenew File(String)
constructor for the purpose of in-process script approval.References