GitHub Advisoryadvisory · Maven

GHSA-j852-mp82-wv2g Improper permission checks in Jenkins Swarm Plugin

MEDIUM Published 2022-05-24 Modified 2022-12-20 Official page ↗
Aliases
CVE-2020-2191
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:swarm
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Weaknesses
CWE-285
Reviewed
2022-12-20

Affected packages

• Maven org.jenkins-ci.plugins:swarm: < 3.21 → fixed in 3.21

Description

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. Swarm Plugin 3.21 requires Agent/Configure permission for the affected agent to these endpoints. It no longer uses the global Swarm secret for these API endpoints.

Related

Alias · CVE (1)

  • CVE-2020-2191 Jenkins Self-Organizing Swarm Plug-in Modules Plugin 3.20 and earlier does not check permissions on API endpoints that allow adding and… vulnerability

Weakness · CWE (1)

  • CWE-285 Improper Authorization weakness

References