5.3medium
Non-constant time webhook token comparison in Jenkins Generic Webhook Trigger Plugin
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.69% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-2jxx-2x93-2q2f
Description
Jenkins Generic Webhook Trigger Plugin 1.84.1 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 Generic Webhook Trigger Plugin | from unspecified up to 1.84.1 | CVE List |
| org.jenkins-ci.plugins:generic-webhook-trigger (Maven) | before 1.84.2 | GitHub Advisory Database |
| jenkins generic_webhook_trigger | before 1.84.2 | 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 Generic Webhook Trigger Plugin 1.84.1 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
Generic Webhook Trigger Plugin 1.84.1 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.
Generic Webhook Trigger Plugin 1.84.2 uses a constant-time comparison when validating the webhook token.
NVD (es)
Jenkins Generic Webhook Trigger Plugin versiones 1.84.1 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-2874 | 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-43412 | advisory | |
| https://github.com/jenkinsci/generic-webhook-trigger-plugin | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-43412 changed 2025-05-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2jxx-2x93-2q2f changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-43412 changed 2026-06-17 | Public domain |