-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Any
Jenkins should set a SecurityManager and explicity trap out calls to System.exit from plugins.
This would prevent eg. the following script from taking out the whole web container:
System.exit(0)
Groovy even provides a NoExitSecurityManager for this purpose.
[JENKINS-26862] Jenkins should set a SecurityManager (prevent rogue scripts exiting)
Workflow | Original: JNJira [ 161038 ] | New: JNJira + In-Review [ 180549 ] |
Wouldn't it suffice to fix plugins so they use Script Security Plugin for everything groovy?