GitHub Advisory Database
GHSA-885r-hhpr-cc9p
Jenkins Gogs Plugin uses non-constant time webhook token comparison
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins:gogs-webhook | All versions up to and including 1.0.15 |