GHSA-mxcc-7h5m-x57r
Jenkins GitHub plugin uses weak webhook signature function
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | com.coravy.hudson.plugins.github:github | < 1.34.5 | 1.34.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
Jenkins GitHub Plugin 1.34.4 and earlier uses a non-constant time comparison function when checking whether the provided and computed webhook signatures are equal, allowing attackers to use statistical methods to obtain a valid webhook signature. GitHub Plugin 1.34.5 uses a constant-time comparison when validating the webhook signature.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-36885
- https://github.com/jenkinsci/github-plugin/commit/11d1d79ebf85248dc43432389746c1ecc3452b6a
- https://github.com/jenkinsci/github-plugin
- https://github.com/jenkinsci/github-plugin/releases/tag/v1.34.5
- https://plugins.jenkins.io/github-issues
- https://www.jenkins.io/security/advisory/2022-07-27/#SECURITY-1849
- http://www.openwall.com/lists/oss-security/2022/07/27/1