GHSA-x6jx-cxg3-mggh

    Dashboard / Vulnerabilities / GHSA-x6jx-cxg3-mggh

    GHSA-x6jx-cxg3-mggh

    Published: 13 May 2022Last Modified: 5 Dec 2024

    Summary: Jenkins Pipeline Declarative Plugin sandbox bypass vulnerability

    Details: Jenkins Script Security sandbox protection could be circumvented during the script compilation phase by applying AST transforming annotations such as `@Grab` to source code elements. Both the pipeline validation REST APIs and actual script/pipeline execution are affected. This allowed users with Overall/Read permission, or able to control Jenkinsfile or sandboxed Pipeline shared library contents in SCM, to bypass the sandbox protection and execute arbitrary code on the Jenkins controller. All known unsafe AST transformations in Groovy are now prohibited in sandboxed scripts.

    Affected packages

    Package

    Name: org.jenkinsci.plugins:pipeline-model-definition

    Purl: pkg:maven/org.jenkinsci.plugins/pipeline-model-definition

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.3.4.1

    Affected versions

    0.1

    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-x6jx-cxg3-mggh | CVE-DB