Cross-site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:swarm-plugin package, versions [,3.21)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.66% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGJENKINSCIPLUGINS-571311
  • published4 Jun 2020
  • disclosed4 Jun 2020
  • creditOleg Nenashev, CloudBees, Inc.

Introduced: 4 Jun 2020

CVE-2020-2191  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:swarm-plugin to version 3.21 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). Self-Organizing Swarm Plug-in Modules Plugin adds API endpoints to add or remove agent labels. They require only 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.

NOTE: This vulnerability has also been identified as: CVE-2020-2192

CVSS Base Scores

version 3.1