Timing Attack Affecting github.com/runatlantis/atlantis/server/controllers/events package, versions <0.19.7


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMRUNATLANTISATLANTISSERVERCONTROLLERSEVENTS-2950851
  • published27 Jul 2022
  • disclosed15 Jul 2022
  • creditcedws

Introduced: 15 Jul 2022

CVE-2022-24912  (opens in a new tab)
CWE-208  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade github.com/runatlantis/atlantis/server/controllers/events to version 0.19.7 or higher.

Overview

Affected versions of this package 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.

CVSS Scores

version 3.1