GitHub Advisoryadvisory · Maven
GHSA-f67f-2j6r-m4c9 Non-constant time webhook token comparison in Jenkins GitLab Branch Source Plugin
LOW
Official page ↗
- Aliases
- CVE-2024-23903
- Ecosystem
- Maven
- Packages
- io.jenkins.plugins:gitlab-branch-source
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-697
- Reviewed
- 2024-01-24
Affected packages
• Maven io.jenkins.plugins:gitlab-branch-source: < 688.v5fa → fixed in 688.v5fa
Description
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.
Related
Alias · CVE (1)
- CVE-2024-23903 Jenkins GitLab Branch Source Plugin 684.vea_fa_7c1e2fe3 and earlier uses a non-constant time comparison function when checking whether the… vulnerability
Weakness · CWE (1)
- CWE-697 Incorrect Comparison weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23903 advisory
- https://github.com/jenkinsci/gitlab-branch-source-plugin/commit/8bfe1046cf342b99419457b9336addbbf346f89a web
- https://github.com/jenkinsci/gitlab-branch-source-plugin package
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-2871 web
- http://www.openwall.com/lists/oss-security/2024/01/24/6 web