ADVISORIES

GitHub Advisory Database

GHSA-xfwj-2f34-32f5

Jenkins Groovy Plugin sandbox bypass vulnerability

Details

A sandbox bypass vulnerability exists in Jenkins Groovy Plugin 2.0 and earlier in src/main/java/hudson/plugins/groovy/StringScriptSource.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM. In version 2.1, the affected HTTP endpoint applies a safe Groovy compiler configuration preventing the use of unsafe AST transforming annotations.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.plugins:groovy
All versions before 2.1 (fixed in 2.1)

References