jenkinsci/bitbucket-branch-source-plugin · Security
Jenkins Bitbucket Branch Source Plugin has incorrect trust policy behavior for pull requests
- GHSA ID
- GHSA-m4rm-x2rr-357w
- CVE ID
- CVE-2024-28152
- Severity
- medium
- Published
- Updated
- CVSS
- 6.3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CVSS v3
- 6.3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Description
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.
CWEs
- CWE-281 · Improper Preservation of Permissions
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-28152 ↗
- https://www.jenkins.io/security/advisory/2024-03-06/#SECURITY-3300 ↗
- https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/28d74e8b4226bfc7524b412e34f7090784cc1a08 ↗
- http://www.openwall.com/lists/oss-security/2024/03/06/3 ↗
- https://github.com/advisories/GHSA-m4rm-x2rr-357w ↗