CVE-2022-43401: Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.35058%
CWE
Published
10/19/2022
Updated
11/22/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.jenkins-ci.plugins:script-security | maven | < 1184.v85d16b | 1184.v85d16b_d851b_3 |
| org.jenkins-ci.plugins.workflow:workflow-cps | maven | <= 2802.v5ea | 2803.v1a_f77ffcc773 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerabilities stem from missing sandbox intercepts in Groovy's implicit type system operations. Key areas include: 1) Method call interception (SandboxInterceptor) for implicit casts in returns/assignments, 2) Constructor validation (CheckpointedMethodSelector) for synthetic constructors, 3) CPS transformation (CpsTransformer) of cast expressions, and 4) Recursive array element type checking (TypeConverter). These functions handle critical type system operations that were not properly sandboxed, allowing bypasses through Groovy's implicit casting mechanics and constructor invocation patterns.