jenkinsci/gitlab-plugin · Security
Non-constant time webhook token comparison in Jenkins GitLab Plugin
- GHSA ID
- GHSA-f9f9-4r63-4qcc
- CVE ID
- CVE-2022-43411
- Severity
- low
- Published
- Updated
- CVSS
- 3.7 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS v3
- 3.7 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Description
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.
CWEs
- CWE-203 · Observable Discrepancy
- CWE-208 · Observable Timing Discrepancy
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-43411 ↗
- https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2877 ↗
- http://www.openwall.com/lists/oss-security/2022/10/19/3 ↗
- https://github.com/jenkinsci/gitlab-plugin/commit/882f84c6a42b42b74ff7c9803d814f61b8fde0ed ↗
- https://github.com/advisories/GHSA-f9f9-4r63-4qcc ↗