Cross-site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source package, versions [,2.9.11.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (35th 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-2359985
  • published25 Jan 2022
  • disclosed12 Jan 2022
  • creditUnknown

Introduced: 12 Jan 2022

CVE-2022-20619  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source to version 2.9.11.2 or higher.

Overview

org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source is a package that allows to discover and build Bitbucket Cloud and Bitbucket Server pull requests and branches and send status notifications with the build result.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) by not enforcing POST requests to an HTTP endpoint, which could allow the exfiltration of credentials sent as part of the request. This allows attackers with Overall/Read access to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

CVSS Scores

version 3.1