CVE-2024-42490
Description
authentik is an open-source Identity Provider. Several API endpoints can be accessed by users without correct authentication/authorization. The main API endpoints affected by this are /api/v3/crypto/certificatekeypairs/<uuid>/view_certificate/, /api/v3/crypto/certificatekeypairs/<uuid>/view_private_key/, and /api/v3/.../used_by/. Note that all of the affected API endpoints require the knowledge of the ID of an object, which especially for certificates is not accessible to an unprivileged user. Additionally the IDs for most objects are UUIDv4, meaning they are not easily guessable/enumerable. authentik 2024.4.4, 2024.6.4 and 2024.8.0 fix this issue.
How to fix
- goauthentik authentik2024.4.4, 2024.6.4 or later
- goauthentik.io2024.6.4, 2024.4.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| goauthentik authentik | v < 2024.4.4, 2024.6.0 ≤ v < 2024.6.4 | 2024.4.4, 2024.6.4 |
| goauthentik.ioGo | 2024.6.0-rc1 ≤ v < 2024.6.4, v < 2024.4.4, No range specified | 2024.6.4, 2024.4.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.