{"id":"CVE-2024-28152","published":"2024-03-06T17:01:56Z","modified":"2025-02-13T17:47:19Z","title":"In Jenkins Bitbucket Branch Source Plugin 866.vdea_7dcd3008e and earlier, except 848.850.v6a_a_2a_234a_c81, when…","vendor":"Jenkins","product":"Jenkins Bitbucket Branch Source Plugin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00556,"percentile":0.47256,"provenance":"source"},"cwes":[{"id":"CWE-281","name":"Improper Preservation of Permissions"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2024-03-06/#SECURITY-3300","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/06/3","tags":[]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":9.45},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"jenkins","affectedVersions":[{"vendor":"Jenkins Project","product":"Jenkins Bitbucket Branch Source Plugin","versions":["all versions"]}],"fixedVersions":[{"vendor":"Jenkins Project","product":"Jenkins Bitbucket Branch Source Plugin","versions":["848.850.v6a_a_2a_234a_c81"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-25T19:50:47.580279Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source","vulnerableRanges":["<871.v28d74e8b_4226"],"patched":["871.v28d74e8b_4226"],"from":["GHSA-m4rm-x2rr-357w"],"provenance":"source"}],"summary":{"text":"The Jenkins Bitbucket Branch Source Plugin contains a flaw in pull request discovery from forks, where the \"Forks in the same account\" trust policy fails to restrict changes to Jenkinsfiles. An attacker without write access to the project can alter Jenkinsfiles when the plugin is used with Bitbucket Server, which requires a user to interact with the change, such as through a pull request workflow, and no prior authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:54Z"},"euvd":{"id":"EUVD-2024-0958","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jenkins-bitbucket-branch-source-plugin-cve-2022-20618","parents":[{"from":"CVE-2022-20618","to":"CVE-2024-28152","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMNavigator.java","src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSource.java"],"commits":["https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/467ed6c94af8735c4755d53145a54325ae82d073","https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/28d74e8b4226bfc7524b412e34f7090784cc1a08"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2024-28152","to":"CVE-2024-39460","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSource.java"],"commits":["https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/28d74e8b4226bfc7524b412e34f7090784cc1a08","https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/ad359b3d2d8d6c114025d81abc59b3c9acb636df"],"basis":"shared function","functions":["build"]}]}]}}