Permissions, Privileges, and Access Controls in Pipeline: Groovy - CVE-2020-2109

 

Permissions, Privileges, and Access Controls in Pipeline: Groovy - CVE-2020-2109

Published: February 13, 2020


Vulnerability identifier: #VU25279
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-2109
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to the sandbox protection in the affected plugin can be circumvented through default parameter expressions in CPS-transformed methods. A remote authenticated attacker can specify and run sandboxed Pipelines to execute arbitrary code in the context of the Jenkins master JVM.

Affected software

Pipeline: Groovy
jenkins-2-plugins (Red Hat package)
Red Hat OpenShift Container Platform

How to mitigate CVE-2020-2109

Install updates from vendor's website.

Pipeline: Groovy - update to 2.79
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