GitHub Advisoryadvisory · Maven
GHSA-j852-mp82-wv2g Improper permission checks in Jenkins Swarm Plugin
MEDIUM
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
- https://nvd.nist.gov/vuln/detail/CVE-2020-2191 advisory
- https://github.com/jenkinsci/swarm-plugin/commit/4d18f98b00e4c84b152d52346fb9ef1a227b1cf7 web
- https://github.com/jenkinsci/swarm-plugin package
- https://jenkins.io/security/advisory/2020-06-03/#SECURITY-1200 web
- http://www.openwall.com/lists/oss-security/2020/06/03/3 web