CVE-2022-43402
JSON

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 packageVersionsReported by
Jenkins project Jenkins Pipeline: Groovy Pluginfrom 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_f77ffcc773GitHub Advisory Database
jenkins pipeline:_groovyup to 2802.v5ea_628154b_c2NVD

All scores

GitHub9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD9.9critical CVSS:3.1CVSS: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

Sources

SourceRecordLicence
CVE ListCVE-2022-43402 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-mqc2-w9r8-mmxm changed 2023-11-08CC-BY-4.0
NVDCVE-2022-43402 changed 2026-06-17Public domain