CVE-2024-52307

authentik is an open-source identity provider. Due to the usage of a non-constant time comparison for the /-/metrics/ endpoint it was possible to brute-force the SECRET_KEY, which is used to authenticate the endpoint. The /-/metrics/ endpoint returns Prometheus metrics and is not intended to be accessed directly, as the Go proxy running in the authentik server container fetches data from this endpoint and serves it on a separate port (9300 by default), which can be scraped by Prometheus without being exposed publicly. authentik 2024.8.5 and 2024.10.3 fix this issue. Since the /-/metrics/ endpoint is not intended to be accessed publicly, requests to the endpoint can be blocked by the reverse proxy/load balancer used in conjunction with authentik.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*
cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*

History

21 Aug 2025, 19:19

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.6
CPE cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*
First Time Goauthentik
Goauthentik authentik
References () https://github.com/goauthentik/authentik/commit/5ea4580884f99369f0ccfe484c04cb03a66e65b8 - () https://github.com/goauthentik/authentik/commit/5ea4580884f99369f0ccfe484c04cb03a66e65b8 - Patch
References () https://github.com/goauthentik/authentik/security/advisories/GHSA-2xrw-5f2x-m56j - () https://github.com/goauthentik/authentik/security/advisories/GHSA-2xrw-5f2x-m56j - Vendor Advisory, Mitigation
References () http://www.openwall.com/lists/oss-security/2024/11/27/1 - () http://www.openwall.com/lists/oss-security/2024/11/27/1 - Mailing List

27 Nov 2024, 16:15

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2024/11/27/1 -

21 Nov 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-11-21 18:15

Updated : 2025-08-21 19:19


NVD link : CVE-2024-52307

Mitre link : CVE-2024-52307

CVE.ORG link : CVE-2024-52307


JSON object : View

Products Affected

goauthentik

  • authentik
CWE
CWE-208

Observable Timing Discrepancy