Directus is soft-locked by providing a string value to random string util
cve-program · CVE-2024-36128
PublishedDirectus is a real-time API and App dashboard for managing SQL database content. Prior to 10.11.2, providing a non-numeric length value to the random string generation utility will create a memory issue breaking the capability to generate random strings platform wide. This creates a denial of service situation where logged in sessions can no longer be refreshed as sessions depend on the capability to generate a random session ID. This vulnerability is fixed in 10.11.2.
Read the publisher's advisoryeuvd · EUVD-2024-1938
PublishedDirectus is a real-time API and App dashboard for managing SQL database content. Prior to 10.11.2, providing a non-numeric length value to the random string generation utility will create a memory issue breaking the capability to generate random strings platform wide. This creates a denial of service situation where logged in sessions can no longer be refreshed as sessions depend on the capability to generate a random session ID. This vulnerability is fixed in 10.11.2.
Read the publisher's advisorynvd · CVE-2024-36128
PublishedDirectus is a real-time API and App dashboard for managing SQL database content. Prior to 10.11.2, providing a non-numeric length value to the random string generation utility will create a memory issue breaking the capability to generate random strings platform wide. This creates a denial of service situation where logged in sessions can no longer be refreshed as sessions depend on the capability to generate a random session ID. This vulnerability is fixed in 10.11.2.
Read the publisher's advisoryosv · GHSA-632p-p495-25m5
Published### Describe the Bug Providing a non-numeric length value to the random string generation utility will create a memory issue breaking the capability to generate random strings platform wide. This creates a denial of service situation where logged in sessions can no longer be refreshed as sessions depend on the capability to generate a random session ID. ### To Reproduce 1. Test if the endpoint is working and accessible, `GET http://localhost:8055/utils/random/string` 2. Do a bad request `GET http://localhost:8055/utils/random/string?length=foo` 3. After this all calls to `GET http://localhost:8055/utils/random/string` will return an empty string instead of a random string 4. In this error situation you'll see authentication refreshes fail for the app and api. ### Impact This counts as an unauthenticated denial of service attack vector so this impacts all unpatched instances reachable over the internet.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-36128 · CVE overview and exploitation status
cve-program · CVE-2024-36128
- https://github.com/directus/directus/security/advisories/GHSA-632p-p495-25m5
- https://github.com/directus/directus/commit/7d2a1392f43613094de700062aba168a9400dd3b
euvd · EUVD-2024-1938
- https://github.com/directus/directus/security/advisories/GHSA-632p-p495-25m5
- https://github.com/directus/directus/commit/7d2a1392f43613094de700062aba168a9400dd3b
nvd · CVE-2024-36128
- https://github.com/directus/directus/commit/7d2a1392f43613094de700062aba168a9400dd3b
- https://github.com/directus/directus/security/advisories/GHSA-632p-p495-25m5
osv · GHSA-632p-p495-25m5
Related changes
Linked by CVE identifierNo related changes are available here.