9.9critical
Jenkins Pipeline: Groovy Plugin allows sandbox protection bypass and arbitrary code execution
- Severity
- 9.9critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.54% (higher than 75% of CVEs)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-mqc2-w9r8-mmxm
Description
A sandbox bypass vulnerability involving various casts performed implicitly by the Groovy language runtime in Jenkins Pipeline: Groovy Plugin 2802.v5ea_628154b_c2 and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Pipeline: Groovy Plugin | from unspecified up to 2802.v5ea_628154b_c2 Not affected: 2759.2761.vd6e8d2a_15980, 2746.2748.v365128b_c26d7 | CVE List |
| org.jenkins-ci.plugins.workflow:workflow-cps (Maven) | before 2803.v1a_f77ffcc773 | GitHub Advisory Database |
| jenkins pipeline:_groovy | up to 2802.v5ea_628154b_c2 | NVD |
All scores
| GitHub | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Classification
What each source says
CVE List
A sandbox bypass vulnerability involving various casts performed implicitly by the Groovy language runtime in Jenkins Pipeline: Groovy Plugin 2802.v5ea_628154b_c2 and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
GitHub Advisory Database
A sandbox bypass vulnerability involving various casts performed implicitly by the Groovy language runtime in Jenkins Pipeline: Groovy Plugin 2802.v5ea_628154b_c2 and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM. Pipeline: Groovy Plugin 2803.v1a_f77ffcc773 intercepts Groovy casts performed implicitly by the Groovy language runtime
NVD (es)
Una vulnerabilidad de omisión del sandbox que involucra varios lanzamientos llevados a cabo implícitamente por el tiempo de ejecución del lenguaje Groovy en Jenkins Pipeline: Groovy Plugin versiones 2802.v5ea_628154b_c2 y anteriores, permite a atacantes con permiso para definir y ejecutar scripts con sandbox, incluyendo Pipelines, omitir la protección del sandbox y ejecutar código arbitrario en el contexto de la JVM del controlador de Jenkins
References
| https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2824%20%281%29 | vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2022/10/19/3 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-43402 | advisory | |
| https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2824%20(1) | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-43402 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mqc2-w9r8-mmxm changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-43402 changed 2026-06-17 | Public domain |