GHSA-f9f9-4r63-4qcc
Non-constant time webhook token comparison in Jenkins GitLab Plugin
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.jenkins-ci.plugins:gitlab-plugin | < 1.5.36 | 1.5.36 |
Details
As written in the advisory (Markdown source, shown as plain text).
GitLab Plugin 1.5.35 and earlier does not use a constant-time comparison when checking whether the provided and expected webhook token are equal.
This could potentially allow attackers to use statistical methods to obtain a valid webhook token.
GitLab Plugin 1.5.36 uses a constant-time comparison when validating the webhook token.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-43411
- https://github.com/jenkinsci/gitlab-plugin/commit/882f84c6a42b42b74ff7c9803d814f61b8fde0ed
- https://github.com/jenkinsci/gitlab-plugin
- https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2877
- http://www.openwall.com/lists/oss-security/2022/10/19/3