GHSA-29q6-p2cg-4v23

    Dashboard / Vulnerabilities / GHSA-29q6-p2cg-4v23

    GHSA-29q6-p2cg-4v23

    Published: 24 Jun 2022Last Modified: 8 Nov 2023

    Summary: Arbitrary file write vulnerability in Jenkins Pipeline: Input Step Plugin

    Details: 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.

    Affected packages

    Package

    Name: org.jenkins-ci.plugins:pipeline-input-step

    Purl: pkg:maven/org.jenkins-ci.plugins/pipeline-input-step

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -449.v77f0e8b

    Affected versions

    2.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-29q6-p2cg-4v23 | CVE-DB