CVE-2024-52307
published medium CVSS 4.0 · 6.3authentik allows a timing attack due to missing constant time comparison for metrics view
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| goauthentik | authentik | < 2024.8.5 (affected)>= 2024.10.0-rc1, < 2024.10.3 (affected) | GitHub_M · cna |
| goauthentik | authentik | 0 to < 2024.8.5 (affected · custom)2024.10.0-rc1 to < 2024.10.3 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-208 CWE-208: Observable Timing Discrepancy
References
3Provider assertions
3GitHub_M · cna
authentik allows a timing attack due to missing constant time comparison for metrics view
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- efb182802d7cc65f04f762a99b0b7f42c1ad89c2044abd943687ec41936812f8
- Ingested
- 23 Sep 2026, 08:30:39 UTC
- Source record
- Official CVE record