CVE-2019-10306: Sandbox bypass in ontrack Jenkins Plugin
10
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.51016%
CWE
Published
5/24/2022
Updated
12/13/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.jenkins-ci.plugins:ontrack | maven | < 3.4.1 | 3.4.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from improper sandbox application during Groovy script lifecycle phases. The patch changes show:
- Updated script-security dependency to 1.57 which introduced stricter sandboxing
- Modified execution flow to use GroovyShell.run() with prepared code source, ensuring sandbox applies during parsing
- Changed SandboxDSLLauncher to intercept execution earlier in the process
The original AbstractDSLLauncher's script parsing before binding setup, and SandboxDSLLauncher's post-parsing sandbox application, allowed attackers to bypass restrictions during critical initialization phases of script execution.