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 package | Versions | Reported by |
|---|---|---|
| Jenkins Project Jenkins Gogs Plugin | up to 1.0.15 | CVE List |
| org.jenkins-ci.plugins:gogs-webhook (Maven) | up to 1.0.15 | GitHub Advisory Database |
| jenkins gogs | up to 1.0.15 | NVD |
All scores
| 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 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
| https://www.jenkins.io/security/advisory/2023-10-25/#SECURITY-2896 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2023/10/25/2 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-46657 | advisory | |
| https://github.com/jenkinsci/gogs-webhook-plugin | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-46657 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-885r-hhpr-cc9p changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2023-46657 changed 2026-06-17 | Public domain |