CVE-2022-25177
JSON

6.5medium

Improper Link Resolution Before File Access in Jenkins Pipeline: Shared Groovy Libraries Plugin

Severity
6.5medium CVSS:3.1 by NVD
Exploit likelihood
1.74% (higher than 78% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-q234-x887-9rxh

Description

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.

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)from 2.22 before 561.va_ce0de3c2d69, from 2.19 before 2.21.1, before 2.18.1GitHub Advisory Database
jenkins pipeline:shared_groovy_librariesup to 552.vd9cc05b8a2e1NVD

All scores

GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:N/A:N

Classification

What each source says

CVE List

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.

NVD (es)

Jenkins Pipeline: Shared Groovy Libraries Plugin versiones 552.vd9cc05b8a2e1 y anteriores, sigue enlaces simbólicos a ubicaciones fuera de la biblioteca esperada de Pipeline cuando lee archivos usando el paso libraryResource, permitiendo a atacantes capaces de configurar Pipelines para leer archivos arbitrarios en el sistema de archivos del controlador de Jenkins

References

Sources

SourceRecordLicence
CVE ListCVE-2022-25177 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-q234-x887-9rxh changed 2023-11-08CC-BY-4.0
NVDCVE-2022-25177 changed 2026-06-17Public domain