CVE-2024-36128
highpriority · track · 30EPSS 0.006 · 49 %ileEUUSEPSS · scored 2026-10-27
Directus 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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-632p-p495-25m5Directus is soft-locked by providing a string value to random string util2024-06-04ghsa · osvUS
### 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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-36128/cnnvd
- https://github.com/directus/directus/commit/7d2a1392f43613094de700062aba168a9400dd3bcnnvd
- https://github.com/directus/directus/releases/tag/v10.11.2Patchcnnvd
- https://github.com/directus/directus/security/advisories/GHSA-632p-p495-25m5cnnvd
- https://github.com/directus/directus/commit/7d2a1392f43613094de700062aba168a9400dd3benisa_euvd
- https://github.com/directus/directus/security/advisories/GHSA-632p-p495-25m5enisa_euvd
- https://github.com/directus/directus/commit/7d2a1392f43613094de700062aba168a9400dd3bPatchnvd
- https://github.com/directus/directus/security/advisories/GHSA-632p-p495-25m5ExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan