Improper Privilege Management in Jenkins
Date: 2022-05
Affected: maven/org.jenkins-ci.plugins:script-security
Attack vector: sandbox-escape
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2018-1000865
CVE-2018-1000866
CVE-2019-1003013
CVE-2019-1003015
CWE: CWE-269
CWE-611
CWE-79
CVSS: 8.8 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

A sandbox bypass vulnerability exists in Script Security Plugin 1.47 and earlier in groovy-sandbox/src/main/java/org/kohsuke/groovy/sandbox/SandboxTransformer.java that allows attackers with Job/Configure permission to execute arbitrary code on the Jenkins master JVM, if plugins using the Groovy sandbox are installed.


Mitigations:

Architectural layers (MAESTRO):