CVE-2023-46657 Jenkins Gogs Plugin uses non-constant time webhook token comparison

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
org.jenkins-ci.plugins:gogs-webhook MavenAll versions to 1.0.15None
org.jenkins-ci.plugins:gogs-webhook MavenAll versions to 1.0.15None

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.

Sources

Also known as GHSA-885r-hhpr-cc9p.

Is CVE-2023-46657 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free