Vulnerability identifier: #VU21570
Vulnerability risk: High
Exploitation vector: Network
The vulnerability allows a remote attacker to bypass sandbox restrictions.
The vulnerability exists due to improper access restrictions in "src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java" when applying AST transforming annotations such as @Grab to source code elements. A remote authenticated attacker with Overall/Read permission, or able to control Jenkins file or sandboxed Pipeline shared library contents in SCM, can bypass the sandbox protection and execute arbitrary code on the Jenkins master.
Install updates from vendor's website.
Vulnerable software versions
Script Security: 1.0 - 1.49
Fixed software versions
Can this vulnerability be exploited remotely?
Is there known malware, which exploits this vulnerability?