GHSA-m68x-cc2f-gr5h

    Dashboard / Vulnerabilities / GHSA-m68x-cc2f-gr5h

    GHSA-m68x-cc2f-gr5h

    Published: 13 May 2022Last Modified: 18 Feb 2024

    Summary: Unsafe methods in the default list of approved signatures in Jenkins Script Security Plugin

    Details: The default whitelist included the following unsafe entries: DefaultGroovyMethods.putAt(Object, String, Object); DefaultGroovyMethods.getAt(Object, String). These allowed circumventing many of the access restrictions implemented in the script sandbox by using e.g. currentBuild['rawBuild'] rather than currentBuild.rawBuild. Additionally, the following entries allowed accessing private data that would not be accessible otherwise due to script security: groovy.json.JsonOutput.toJson(Closure); groovy.json.JsonOutput.toJson(Object).

    Affected packages

    Package

    Name: org.jenkins-ci.plugins:script-security

    Purl: pkg:maven/org.jenkins-ci.plugins/script-security

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.29.1

    Affected versions

    1.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-m68x-cc2f-gr5h | CVE-DB