medium5.3
CVE-2022-43411
Non-constant time webhook token comparison in Jenkins GitLab Plugin
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:gitlab-plugin | <= 1.5.35 | 1.5.36 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Gitlab | before 1.5.36 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2022/10/19/3
- https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2877
- https://github.com/advisories/GHSA-f9f9-4r63-4qcc
- https://nvd.nist.gov/vuln/detail/CVE-2022-43411
- https://github.com/jenkinsci/gitlab-plugin/commit/882f84c6a42b42b74ff7c9803d814f61b8fde0ed