5.3medium
Non-constant time webhook token comparison in Jenkins GitLab Plugin
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.81% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-f9f9-4r63-4qcc
Description
Jenkins GitLab Plugin 1.5.35 and earlier uses a non-constant time comparison function when checking whether the provided and expected webhook token are equal, potentially allowing attackers to use statistical methods to obtain a valid webhook token.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins GitLab Plugin | from unspecified up to 1.5.35 | CVE List |
| org.jenkins-ci.plugins:gitlab-plugin (Maven) | before 1.5.36 | GitHub Advisory Database |
| jenkins gitlab | before 1.5.36 | NVD |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
What each source says
CVE List
Jenkins GitLab Plugin 1.5.35 and earlier uses a non-constant time comparison function when checking whether the provided and expected webhook token are equal, potentially allowing attackers to use statistical methods to obtain a valid webhook token.
GitHub Advisory Database
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.
NVD (es)
Jenkins GitLab Plugin versiones 1.5.35 y anteriores, usa una función de comparación de tiempo no constante cuando comprueba si el token de webhook proporcionado y el esperado son iguales, permitiendo potencialmente a atacantes usar métodos estadísticos para obtener un token de webhook válido
References
| https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2877 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/10/19/3 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-43411 | advisory | |
| https://github.com/jenkinsci/gitlab-plugin/commit/882f84c6a42b42b74ff7c9803d814f61b8fde0ed | web | |
| https://github.com/jenkinsci/gitlab-plugin | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-43411 changed 2025-05-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f9f9-4r63-4qcc changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-43411 changed 2026-06-17 | Public domain |