GitHub Advisory Database
GHSA-m4rm-x2rr-357w
Jenkins Bitbucket Branch Source Plugin has incorrect trust policy behavior for pull requests
Details
In Jenkins Bitbucket Branch Source Plugin 866.vdea_7dcd3008e and earlier, except 848.850.v6a_a_2a_234a_c81, when discovering pull requests from forks, the trust policy "Forks in the same account" allows changes to Jenkinsfiles from users without write access to the project when using Bitbucket Server.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source | All versions before 871.v28d74e8b_4226 (fixed in 871.v28d74e8b_4226) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-28152
- https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/28d74e8b4226bfc7524b412e34f7090784cc1a08
- https://github.com/jenkinsci/bitbucket-branch-source-plugin
- https://www.jenkins.io/security/advisory/2024-03-06/#SECURITY-3300
- http://www.openwall.com/lists/oss-security/2024/03/06/3