CVE-2022-25173
JSON

8.8high

Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
1.24% (higher than 69% of CVEs)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-4m7p-55jm-3vwv

Description

Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier uses the same checkout directories for distinct SCMs when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

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 2646.v6ed3b5b01ff1 before 2656.vf7a, from 2.93 before 2.94.1, before 2.92.1GitHub Advisory Database
jenkins pipeline:_groovyup to 2648.va9433432b33cNVD

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

Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier uses the same checkout directories for distinct SCMs when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

GitHub Advisory Database

Jenkins Pipeline: Groovy Plugin prior to 2656.vf7a_e7b_75a_457, 2.94.1, and 2.92.1 uses the same checkout directories for distinct SCMs when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

NVD (es)

Jenkins Pipeline: Groovy Plugin versiones 2648.va9433432b33c y anteriores usan los mismos directorios de salida para distintos SCMs cuando leen el archivo de script (típicamente Jenkinsfile) para Pipelines, permitiendo a atacantes con permiso Item/Configure invocar comandos arbitrarios del SO en el controlador mediante contenidos SCM diseñados

References

Sources

SourceRecordLicence
CVE ListCVE-2022-25173 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-4m7p-55jm-3vwv changed 2024-02-16CC-BY-4.0
NVDCVE-2022-25173 changed 2026-06-17Public domain