CVE-2017-1000096: Arbitrary code execution due to incomplete sandbox protection in Jenkins Pipeline
8.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.41884%
CWE
Published
5/13/2022
Updated
1/30/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/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.workflow:workflow-cps | maven | <= 2.36 | 2.36.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing sandbox protection in three specific Groovy language constructs: constructors, instance variable initializers, and instance initializers. The CpsTransformer class in workflow-cps is responsible for AST transformations that implement CPS execution model and sandboxing.
- visitConstructorOrMethod would handle constructor definitions - without sandbox interceptor wrapping, constructor bodies could execute arbitrary code
- visitField processes field declarations with initializers - vulnerable when initializer expressions weren't sandboxed
- parseScript is the entry point where these vulnerabilities would manifest during script execution
Confidence is medium as we're inferring implementation details from vulnerability description rather than explicit patch diffs, but these are the canonical components handling the vulnerable code structures based on Jenkins Pipeline architecture.