medium5.3
CVE-2024-23903
Non-constant time webhook token comparison in Jenkins GitLab Branch Source Plugin
Impact
Jenkins GitLab Branch Source Plugin 684.vea_fa_7c1e2fe3 and earlier does not use a constant-time comparison function 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 Branch Source Plugin 688.v5fa_356ee8520 uses a constant-time comparison function when validating the webhook token.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | io.jenkins.plugins:gitlab-branch-source | < 688.v5fa | 688.v5fa |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Github Branch Source | through 684.vea_fa_7c1e2fe3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2024/01/24/6
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-2871
- https://github.com/advisories/GHSA-f67f-2j6r-m4c9
- https://nvd.nist.gov/vuln/detail/CVE-2024-23903
- https://github.com/jenkinsci/gitlab-branch-source-plugin/commit/8bfe1046cf342b99419457b9336addbbf346f89a