Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @directus/api
  4. ›
  5. CVE-2024-54151

CVE-2024-54151: Directus allows unauthenticated access to WebSocket events and operations

December 9, 2024

When setting WEBSOCKETS_GRAPHQL_AUTH or WEBSOCKETS_REST_AUTH to “public”, an unauthenticated user is able to do any of the supported operations (CRUD, subscriptions) with full admin privileges.

References

  • github.com/advisories/GHSA-849r-qrwj-8rv4
  • github.com/directus/directus
  • github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21
  • github.com/directus/directus/security/advisories/GHSA-849r-qrwj-8rv4
  • nvd.nist.gov/vuln/detail/CVE-2024-54151

Code Behaviors & Features

Detect and mitigate CVE-2024-54151 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 starting from 22.2.0 before 23.2.0

Fixed versions

  • 23.2.0

Solution

Upgrade to version 23.2.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/@directus/api/CVE-2024-54151.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:35 +0000.