7.5high
Arbitrary file write vulnerability in Jenkins Pipeline: Input Step Plugin
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.72% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-29q6-p2cg-4v23
Description
Jenkins Pipeline: Input Step Plugin 448.v37cea_9a_10a_70 and earlier archives files uploaded for `file` parameters for Pipeline `input` steps on the controller as part of build metadata, using the parameter name without sanitization as a relative path inside a build-related directory, allowing attackers able to configure Pipelines to create or replace arbitrary files on the Jenkins controller file system with attacker-specified content.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Pipeline: Input Step Plugin | from unspecified up to 448.v37cea_9a_10a_70 Not affected: 447.449.v193fd29f6021, 2.12.2 | CVE List |
| org.jenkins-ci.plugins:pipeline-input-step (Maven) | before 449.v77f0e8b | GitHub Advisory Database |
| jenkins pipeline:_input_step | up to 448.v37cea_9a_10a_70 | NVD |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
Jenkins Pipeline: Input Step Plugin 448.v37cea_9a_10a_70 and earlier archives files uploaded for `file` parameters for Pipeline `input` steps on the controller as part of build metadata, using the parameter name without sanitization as a relative path inside a build-related directory, allowing attackers able to configure Pipelines to create or replace arbitrary files on the Jenkins controller file system with attacker-specified content.
GitHub Advisory Database
Pipeline: Input Step Plugin 448.v37cea_9a_10a_70 and earlier allows Pipeline authors to specify file parameters for Pipeline input steps even though they are unsupported. Although the uploaded file is not copied to the workspace, Jenkins archives the file on the controller as part of build metadata using the parameter name without sanitization as a relative path inside a build-related directory.
This allows attackers able to configure Pipelines to create or replace arbitrary files on the Jenkins controller file system with attacker-specified content.
Pipeline: Input Step Plugin 449.v77f0e8b_845c4 prohibits use of file parameters for Pipeline input steps. Attempts to use them will fail Pipeline execution.
NVD (es)
Jenkins Pipeline: Input Step Plugin versiones 448.v37cea_9a_10a_70 y anteriores, archiva los archivos cargados para los parámetros "file" para los pasos "input" de Pipeline en el controlador como parte de los metadatos de construcción, usando el nombre del parámetro sin sanearlo como una ruta relativa dentro de un directorio relacionado con la construcción, permitiendo a atacantes poder configurar Pipelines para crear o reemplazar archivos arbitrarios en el sistema de archivos del controlador Jenkins con contenido especificado por el atacante
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-34177 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-29q6-p2cg-4v23 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-34177 changed 2026-06-17 | Public domain |