# CVE-2024-28152: Jenkins Bitbucket Branch Source Plugin has incorrect trust policy behavior for pull requests

Source: https://junglewise.ai/threats/cve-2024-28152-jenkins-bitbucket-branch-source-plugin-has-incorrect-trust-policy  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-03-06  
License: CC BY 4.0 with a link back

CVE-2024-28152 · Severity: low · CVSS 3.1 · Published 2024-03-06

Jenkins Bitbucket Branch Source Plugin has incorrect trust policy behavior for pull requests

Technologies: [org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-cloudbees-bitbucket-branch-source). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-28152 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-28152 being exploited in the wild.

**How severe is CVE-2024-28152?** Low severity, with a CVSS score of 3.1, published 6 March 2024.

**Which products and versions are affected?** org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven) ECOSYSTEM:introduced=0,fixed=871.v28d74e8b_4226.

**Is there a fix for CVE-2024-28152?** Yes. org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven): upgrade to 871.v28d74e8b_4226 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-28152?** Check whether you run org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven): upgrade to 871.v28d74e8b_4226 or later

  ```sh
  # set org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source to 871.v28d74e8b_4226 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven) ECOSYSTEM:introduced=0,fixed=871.v28d74e8b_4226

## Identifiers

- CVE-2024-28152
- GHSA-m4rm-x2rr-357w

## Related threats

- [Bitbucket OAuth access token exposed in the build log by Bitbucket Branch Source Plugin](https://junglewise.ai/threats/cve-2024-39460-bitbucket-oauth-access-token-exposed-in-the-build-log-by)
- [Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin](https://junglewise.ai/threats/cve-2022-20618-incorrect-permission-assignment-for-critical-resource-in-jenkins)
- [Cross-Site Request Forgery in Jenkins Bitbucket Branch Source Plugin](https://junglewise.ai/threats/cve-2022-20619-cross-site-request-forgery-in-jenkins-bitbucket-branch-source)
