CVE-2023-46657
JSON

5.3medium

Jenkins Gogs Plugin uses non-constant time webhook token comparison

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-885r-hhpr-cc9p

Description

Jenkins Gogs Plugin 1.0.15 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 Gogs Pluginup to 1.0.15CVE List
org.jenkins-ci.plugins:gogs-webhook (Maven)up to 1.0.15GitHub Advisory Database
jenkins gogsup to 1.0.15NVD

All scores

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-208CWE-697

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

What each source says

CVE List

Jenkins Gogs Plugin 1.0.15 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

Jenkins Gogs Plugin 1.0.15 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.

As of publication of this advisory, there is no fix.

NVD (es)

El complemento Jenkins Gogs 1.0.15 y versiones anteriores utiliza una función de comparación de tiempo no constante al verificar si el token de webhook proporcionado y el esperado son iguales, lo que potencialmente permite a los atacantes usar métodos estadísticos para obtener un token de webhook válido.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-46657 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-885r-hhpr-cc9p changed 2024-02-16CC-BY-4.0
NVDCVE-2023-46657 changed 2026-06-17Public domain