Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
Description
build flow allows to run arbitrary Groovy code as flow DSL. Can be used by a user with "Job.CONFIGURE" permission to kill the instance :
b = build("someJob") b.project.parent.doQuietDown()
need for https://github.com/kohsuke/groovy-sandbox
also, as "b" in previous sample is a JobInvocation, not the actual Build object, could blacklist some methods to sanityze the DSL