CVE-2022-43412
JSON

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 packageVersionsReported by
Jenkins project Jenkins Generic Webhook Trigger Pluginfrom unspecified up to 1.84.1CVE List
org.jenkins-ci.plugins:generic-webhook-trigger (Maven)before 1.84.2GitHub Advisory Database
jenkins generic_webhook_triggerbefore 1.84.2NVD

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-203CWE-208

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2022-43412 changed 2025-05-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-2jxx-2x93-2q2f changed 2023-11-08CC-BY-4.0
NVDCVE-2022-43412 changed 2026-06-17Public domain