jenkinsci/gitlab-branch-source-plugin · Security

Non-constant time webhook token comparison in Jenkins GitLab Branch Source Plugin

GHSA ID
GHSA-f67f-2j6r-m4c9
CVE ID
CVE-2024-23903
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

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.

CWEs

References