Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. goauthentik.io
  4. ›
  5. CVE-2024-42490

CVE-2024-42490: GoAuthentik vulnerable to Insufficient Authorization for several API endpoints

August 22, 2024 (updated November 18, 2024)

Several API endpoints can be accessed by users without correct authentication/authorization.

The main API endpoints affected by this:

  • /api/v3/crypto/certificatekeypairs/<uuid>/view_certificate/
  • /api/v3/crypto/certificatekeypairs/<uuid>/view_private_key/
  • /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.

References

  • github.com/advisories/GHSA-qxqc-27pr-wgc8
  • github.com/goauthentik/authentik
  • github.com/goauthentik/authentik/commit/19318d4c00bb02c4ec3c4f8f15ac2e1dbe8d846c
  • github.com/goauthentik/authentik/commit/359b343f51524342a5ca03828e7c975a1d654b11
  • github.com/goauthentik/authentik/security/advisories/GHSA-qxqc-27pr-wgc8
  • nvd.nist.gov/vuln/detail/CVE-2024-42490

Code Behaviors & Features

Detect and mitigate CVE-2024-42490 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2024.4.4, all versions starting from 2024.6.0-rc1 before 2024.6.4

Fixed versions

  • 2024.6.4
  • 2024.4.4

Solution

Upgrade to versions 2024.4.4, 2024.6.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization
  • CWE-863: Incorrect Authorization

Source file

go/goauthentik.io/CVE-2024-42490.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:16 +0000.