Permissions, Privileges, and Access Controls in Script Security - CVE-2020-2110

 

Permissions, Privileges, and Access Controls in Script Security - CVE-2020-2110

Published: February 13, 2020


Vulnerability identifier: #VU25280
CSH Severity: High
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-2110
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Script Security
jenkins-2-plugins (Red Hat package)
Red Hat OpenShift Container Platform

How to mitigate CVE-2020-2110

Install updates from vendor's website.

Script Security - update to 1.70
jenkins-2-plugins (Red Hat package) - addressed in versions 3.11.1591354111-1.el7, 4.3.1597915133-1.el7, 4.4.1592817009-1.el7

External References

Related Security Bulletins