{"id":"CVE-2022-34177","aliases":["CVE-2022-34177","GHSA-29q6-p2cg-4v23"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary file write vulnerability in Jenkins Pipeline: Input Step Plugin","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nThis allows attackers able to configure Pipelines to create or replace arbitrary files on the Jenkins controller file system with attacker-specified content.\n\nPipeline: Input Step Plugin 449.v77f0e8b_845c4 prohibits use of `file` parameters for Pipeline `input` steps. Attempts to use them will fail Pipeline execution.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-06-22T00:00:00.000Z","modified":"2026-06-17T04:49:51.080Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"447.449.v193fd29f6021","status":"unaffected"},{"version":"2.12.2","status":"unaffected"},{"type":"custom","introduced":"unspecified","lastAffected":"448.v37cea_9a_10a_70","status":"affected"}],"vendor":"Jenkins project","product":"Jenkins Pipeline: Input Step Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"449.v77f0e8b"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:pipeline-input-step","purl":"pkg:maven/org.jenkins-ci.plugins/pipeline-input-step","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"448.v37cea_9a_10a_70"}],"vendor":"jenkins","product":"pipeline:_input_step","cpe":"cpe:2.3:a:jenkins:pipeline\\:_input_step:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2705","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34177","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/pipeline-input-step-plugin/commit/77f0e8b845c4ad429f6c717eab21cf4e7a69168e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/pipeline-input-step-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-34177","url":"https://www.cve.org/CVERecord?id=CVE-2022-34177","licence":"CVE Terms of Use","modified":"2024-08-03T08:16:17.208Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-29q6-p2cg-4v23","url":"https://github.com/advisories/GHSA-29q6-p2cg-4v23","licence":"CC-BY-4.0","modified":"2023-11-08T04:09:42.491Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-34177","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34177","licence":"Public domain","modified":"2026-06-17T04:49:51.080Z"}],"updatedAt":"2026-11-25T22:58:12.507Z","epss":{"score":0.01722,"percentile":0.78187,"date":"2026-12-01T12:00:22.000Z"}}