CVE-2022-24912 Timing Attack

High 7.5 Published Updated

An attacker can recover the webhook secret via timing attacks to forge events, requiring an upgrade to Atlantis.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24912?

CVE-2022-24912 is a high-severity vulnerability in github.com/runatlantis/atlantis/server/controllers/events, published on 29 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The package github.com/runatlantis/atlantis/server/controllers/events before 0.19.7 are vulnerable to Timing Attack in the webhook event validator code, which does not use a constant-time comparison function to validate the webhook secret. It can allow an attacker to recover this secret as an attacker and then forge webhook events.

Weakness: CWE-203

Which versions are affected by CVE-2022-24912?

3 open source packages ship an affected version, including github.com/runatlantis/atlantis. It affects 1 product.

PackageAffectedFixed in
github.com/runatlantis/atlantis GoAll versions0.19.7
github.com/runatlantis/atlantis GoAll versions0.19.7
github.com/runatlantis/atlantis GoAll versions0.19.7

Products include Runatlantis Atlantis.

How do I fix CVE-2022-24912?

Upgrade github.com/runatlantis/atlantis to 0.19.7 or later.

Is CVE-2022-24912 being exploited?

There is no known exploitation of CVE-2022-24912 in the wild and no public exploit code.

Sources

Also known as GHSA-jxqv-jcvh-7gr4, GO-2022-0534.

Is CVE-2022-24912 in your software?

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

Check your SBOMs for free