Permissions, Privileges, and Access Controls in Script Security - CVE-2020-2110
Published: February 13, 2020
Vulnerability details
The vulnerability allows a remote user to escalate privileges on the system.
The vulnerability exists due to the sandbox protection in the affected plugin can be circumvented during the script compilation phase by applying AST transforming annotations such as "@Grab" to imports or by using them inside of other annotations. A remote user with Overall/Read permission can bypass sandbox protection and execute arbitrary code in the context of the Jenkins master JVM.
Affected software
jenkins-2-plugins (Red Hat package)
Red Hat OpenShift Container Platform
How to mitigate CVE-2020-2110
jenkins-2-plugins (Red Hat package) - addressed in versions 3.11.1591354111-1.el7, 4.3.1597915133-1.el7, 4.4.1592817009-1.el7