CVE-2022-25181
JSON

8.8high

Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
1.60% (higher than 76% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-7w2w-fwpf-9m4h

Description

A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.

Affected

Product or packageVersionsReported by
Jenkins project Jenkins Pipeline: Shared Groovy Libraries Pluginfrom unspecified up to 552.vd9cc05b8a2e1
Not affected: 2.21.1, 2.18.1
CVE List
org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven)before 561.va_ce0de3c2d69GitHub Advisory Database
jenkins pipeline:shared_groovy_librariesup to 552.vd9cc05b8a2e1NVD

All scores

GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.

GitHub Advisory Database

Jenkins Pipeline: Deprecated Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the same workspace directory for all checkouts of Pipeline libraries with the same name regardless of the SCM being used and the source of the library configuration.

This allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.

Pipeline: Deprecated Groovy Libraries Plugin 561.va_ce0de3c2d69 uses distinct checkout directories per SCM for Pipeline libraries.

NVD (es)

Una vulnerabilidad de omisión de sandbox en Jenkins Pipeline: Shared Groovy Libraries Plugin versiones 552.vd9cc05b8a2e1 y anteriores, permite a atacantes con permiso Item/Configure ejecutar código arbitrario en el contexto de la JVM del controlador Jenkins mediante contenidos SCM diseñados especialmente, si ya se presenta una biblioteca global de Pipeline

References

Sources

SourceRecordLicence
CVE ListCVE-2022-25181 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-7w2w-fwpf-9m4h changed 2024-02-16CC-BY-4.0
NVDCVE-2022-25181 changed 2026-06-17Public domain