GHSA-c264-8834-ppj2

    Dashboard / Vulnerabilities / GHSA-c264-8834-ppj2

    GHSA-c264-8834-ppj2

    Published: 24 May 2022Last Modified: 16 Feb 2024
    Aliases:

    Summary: CSRF vulnerability in Jenkins Swarm Plugin

    Details: Swarm Plugin adds API endpoints to add or remove agent labels. In Swarm Plugin 3.20 and earlier these only require a global Swarm secret to use, and no regular permission check is performed. This allows users with Agent/Create permission to add or remove labels of any agent. Additionally, these API endpoints do not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability. Swarm Plugin 3.21 requires POST requests and Agent/Configure permission for the affected agent to these endpoints. It no longer uses the global Swarm secret for these API endpoints.

    Affected packages

    Package

    Name: org.jenkins-ci.plugins:swarm

    Purl: pkg:maven/org.jenkins-ci.plugins/swarm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.21

    Affected versions

    1.10

    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-c264-8834-ppj2 | CVE-DB