Timing Attack Affecting github.com/goauthentik/authentik/internal/web package, versions <2024.8.5>=24.10.0 <2024.10.3


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (11th 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-GITHUBCOMGOAUTHENTIKAUTHENTIKINTERNALWEB-8400782
  • published22 Nov 2024
  • disclosed21 Nov 2024
  • creditMatthias Gerstner

Introduced: 21 Nov 2024

NewCVE-2024-52307  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade github.com/goauthentik/authentik/internal/web to version 2024.8.5, 2024.10.3 or higher.

Overview

Affected versions of this package are vulnerable to Timing Attack due to the usage of a non-constant time comparison for the /-/metrics/ endpoint. An attacker can brute-force the SECRET_KEY, which is used to authenticate the endpoint, by observing the time differences in the responses.

References

CVSS Scores

version 4.0
version 3.1