Improper Authorization 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.05% (23rd 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-2359992
  • published25 Jan 2022
  • disclosed12 Jan 2022
  • creditUnknown

Introduced: 12 Jan 2022

CVE-2022-20618  (opens in a new tab)
CWE-285  (opens in a new tab)
CWE-862  (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 Improper Authorization due to a missing permission check on several HTTP endpoints, which allows for credential ID enumeration for malicious users with Overall/Read permissions. These IDs can be later used to further escalate the level of compromise of various systems.

CVSS Scores

version 3.1