8.6high
Insufficient access control for OAuth2 Device Code flow in authentik
- Severity
- 8.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.58% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-AUTHENTIK-2024-38371GHSA-jq3m-37m7-gp45
Description
authentik is an open-source Identity Provider. Access restrictions assigned to an application were not checked when using the OAuth2 Device code flow. This could potentially allow users without the correct authorization to get OAuth tokens for an application and access it. This issue has been patched in version(s) 2024.6.0, 2024.2.4 and 2024.4.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| goauthentik authentik | < 2024.6.0, < 2024.4.3, < 2024.2.4, before 2024.6.0, before 2024.4.3, before 2024.2.4, from 2024.4.0 before 2024.4.3 | CVE List, NVD |
| authentik (Bitnami) | before 2024.6.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
authentik is an open-source Identity Provider. Access restrictions assigned to an application were not checked when using the OAuth2 Device code flow. This could potentially allow users without the correct authorization to get OAuth tokens for an application and access it. This issue has been patched in version(s) 2024.6.0, 2024.2.4 and 2024.4.3.
NVD (es)
authentik es un proveedor de identidades de código abierto. Las restricciones de acceso asignadas a una aplicación no se verificaron cuando se utilizó el flujo de código del dispositivo OAuth2. Potencialmente, esto podría permitir a los usuarios sin la autorización correcta obtener tokens OAuth para una aplicación y acceder a ella. Este problema se solucionó en las versiones 2024.6.0, 2024.2.4 y 2024.4.3.
References
| https://github.com/goauthentik/authentik/security/advisories/GHSA-jq3m-37m7-gp45 | advisory, mitigation, vendor-advisory | |
| https://github.com/goauthentik/authentik/releases/tag/version%2F2024.2.4 | article, release-notes | |
| https://github.com/goauthentik/authentik/releases/tag/version%2F2024.4.3 | article, release-notes | |
| https://github.com/goauthentik/authentik/releases/tag/version%2F2024.6.0 | article, release-notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-38371 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-38371 changed 2024-08-02 | CVE Terms of Use |
| NVD | CVE-2024-38371 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-AUTHENTIK-2024-38371 changed 2026-09-08 | Apache-2.0 |