{"id":"CVE-2020-2191","aliases":["EUVD-2022-4310","GHSA-j852-mp82-wv2g"],"status":"published","title":"Improper permission checks in Jenkins Swarm Plugin","description":"Jenkins Self-Organizing Swarm Plug-in Modules Plugin 3.20 and earlier does not check permissions on API endpoints that allow adding and removing agent labels.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00656,"percentile":0.51689,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-276","CWE-285"],"published":"2020-06-03T12:40:23Z","modified":"2026-10-24T10:30:39Z","fixes":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:swarm","fixed_in":["3.21"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:swarm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.21"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.jenkins-ci.plugins:swarm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.21"}]}],"versions":["1.10","1.11","1.15","1.16","1.17","1.18","1.19","1.20","1.21","1.22","1.23","1.24","1.25","1.26","1.6","1.7","1.8","1.9","2.0","2.1","2.2","3.10","3.11","3.12","3.13","3.14","3.15","3.16","3.17","3.18","3.19","3.20","3.3","3.4","3.5","3.6","3.7","3.8","3.9"]}],"products":[{"vendor":"jenkins","product":"self-organizing_swarm_modules"},{"vendor":"jenkins project","product":"jenkins self-organizing swarm plug-in modules plugin"}],"references":[{"url":"https://jenkins.io/security/advisory/2020-06-03/#SECURITY-1200","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2020/06/03/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-2191","tags":["advisory"]},{"url":"https://github.com/jenkinsci/swarm-plugin/commit/4d18f98b00e4c84b152d52346fb9ef1a227b1cf7","tags":["web"]},{"url":"https://github.com/advisories/GHSA-j852-mp82-wv2g"},{"url":"https://github.com/jenkinsci/swarm-plugin","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-2191","description":"Jenkins Self-Organizing Swarm Plug-in Modules Plugin 3.20 and earlier does not check permissions on API endpoints that allow adding and removing agent labels.","status":"published","published":"2020-06-03T12:40:23Z","modified":"2024-08-04T07:01:41Z","updated_at":"2026-11-02T14:35:51.206854Z"}],"euvd":[{"id":"EUVD-2022-4310","description":"Jenkins Self-Organizing Swarm Plug-in Modules Plugin 3.20 and earlier does not check permissions on API endpoints that allow adding and removing agent labels.","status":"published","published":"2020-06-03T12:40:23Z","modified":"2024-08-04T07:01:41Z","updated_at":"2026-11-03T03:08:09.929524Z"}],"ghsa":[{"id":"GHSA-j852-mp82-wv2g","title":"Improper permission checks in Jenkins Swarm Plugin","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.\n\nSwarm 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.","status":"published","published":"2022-05-24T17:19:04Z","modified":"2023-12-21T13:33:49Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"medium"}],"cwes":["CWE-285"],"updated_at":"2026-11-02T14:37:27.414424Z"}],"nvd":[{"id":"CVE-2020-2191","description":"Jenkins Self-Organizing Swarm Plug-in Modules Plugin 3.20 and earlier does not check permissions on API endpoints that allow adding and removing agent labels.","status":"published","published":"2020-06-03T13:15:10.617Z","modified":"2026-06-17T03:11:57.563Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-276"],"updated_at":"2026-11-02T14:06:04.922138Z"}],"osv":[{"id":"CVE-2020-2191","description":"Jenkins Self-Organizing Swarm Plug-in Modules Plugin 3.20 and earlier does not check permissions on API endpoints that allow adding and removing agent labels.","status":"published","published":"2020-06-03T13:15:10.617Z","modified":"2026-10-24T10:30:39.992117368Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:15.534837Z"},{"id":"GHSA-j852-mp82-wv2g","title":"Improper permission checks in Jenkins Swarm Plugin","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.\n\nSwarm 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.","status":"published","published":"2022-05-24T17:19:04Z","modified":"2024-02-16T08:15:35.827087Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"medium"}],"cwes":["CWE-285"],"updated_at":"2026-11-02T15:46:49.977351Z"}]}}
