oss-sec mailing list archives

Script sandbox bypass in multiple Jenkins plugins


From: Daniel Beck <ml () beckweb net>
Date: Mon, 29 Oct 2018 14:42:29 +0100

Jenkins is an open source automation server which enables developers around
the world to reliably build, test, and deploy their software. The following
releases contain fixes for security vulnerabilities:

* Pipeline: Groovy 2.60
* Script Security 1.48

Summaries of the vulnerabilities are below. More details, severity, and
attribution can be found here:
https://jenkins.io/security/advisory/2018-10-29/

We provide advance notification for security updates on this mailing list:
https://groups.google.com/d/forum/jenkinsci-advisories

If you discover security vulnerabilities in Jenkins, please report them as
described here:
https://jenkins.io/security/#reporting-vulnerabilities

---

SECURITY-1186
The Groovy Sandbox library used by Script Security Plugin and Pipeline Groovy
Plugin did not apply sandbox restrictions to finalize methods. This could be
used to invoke arbitrary constructors and methods, bypassing sandbox
protection.

Finalize methods are now prohibited in classes subject to sandbox security.


Current thread: