GitHub Advisory Database
GHSA-x8mf-jcmf-r79f
Bitbucket OAuth access token exposed in the build log by Bitbucket Branch Source Plugin
Details
Bitbucket Branch Source Plugin 886.v44cf5e4ecec5 and earlier prints the Bitbucket OAuth access token as part of the Bitbucket URL in the build log in some cases.
Bitbucket Branch Source Plugin 887.va_d359b_3d2d8d does not include the Bitbucket OAuth access token as part of the Bitbucket URL in the build log.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source | All versions before 887.va (fixed in 887.va) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-39460
- https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/ad359b3d2d8d6c114025d81abc59b3c9acb636df
- https://github.com/jenkinsci/bitbucket-branch-source-plugin
- https://www.jenkins.io/security/advisory/2024-06-26/#SECURITY-3363
- http://www.openwall.com/lists/oss-security/2024/06/26/2