CVE-2022-25176
JSON

6.5medium

Improper Link Resolution Before File Access in Jenkins Pipeline: Groovy 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-6473-gqrj-4p65

Description

Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier follows symbolic links to locations outside of the checkout directory for the configured SCM when reading the script file (typically Jenkinsfile) for Pipelines, 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: Groovy Pluginfrom unspecified up to 2648.va9433432b33c
Not affected: 2.94.1, 2.92.1
CVE List
org.jenkins-ci.plugins.workflow:workflow-cps (Maven)from 2.93 before 2.94.1, before 2.92.1, from 2.95 before 2648.2651.v230593e03e9fGitHub Advisory Database
jenkins pipeline:_groovyup to 2648.va9433432b33cNVD

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

CWE-59

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier follows symbolic links to locations outside of the checkout directory for the configured SCM when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.

NVD (es)

Jenkins Pipeline: Groovy Plugin versiones 2648.va9433432b33c y anteriores, sigue enlaces simbólicos a ubicaciones fuera del directorio de checkout para el SCM configurado cuando lee el archivo de script (típicamente Jenkinsfile) para Pipelines, 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-25176 changed 2024-10-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-6473-gqrj-4p65 changed 2023-11-08CC-BY-4.0
NVDCVE-2022-25176 changed 2026-06-17Public domain