CVE-2023-46657 Jenkins Gogs Plugin uses non-constant time webhook token comparison
Attackers can statistically recover valid webhook tokens due to non-constant time comparison, bypassing authentication checks in the Jenkins Gogs Plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-46657?
CVE-2023-46657 is a medium-severity vulnerability in Jenkins Gogs Plugin, published on 25 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-697
Which versions are affected by CVE-2023-46657?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:gogs-webhook. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:gogs-webhook Maven | All versions to 1.0.15 | None |
org.jenkins-ci.plugins:gogs-webhook Maven | All versions to 1.0.15 | None |
Products include Jenkins Gogs.
How do I fix CVE-2023-46657?
No fix has been published for CVE-2023-46657 yet. Limit exposure of the affected software until one is available.
Is CVE-2023-46657 being exploited?
There is no known exploitation of CVE-2023-46657 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Gogs Plugin
Sources
Also known as GHSA-885r-hhpr-cc9p.