directus
Affected
- introduced
0, fixed10.11.2(semver)
Fixed versions
10.11.2
Fix
- Fixed version
10.11.2npm install [email protected]
Advisory
Also known as: CVE-2024-36128
Directus is soft-locked by providing a string value to random string util
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
GET http://localhost:8055/utils/random/stringGET http://localhost:8055/utils/random/string?length=fooGET http://localhost:8055/utils/random/string will return an empty string instead of a random stringImpact
This counts as an unauthenticated denial of service attack vector so this impacts all unpatched instances reachable over the internet.
High Basis: The source's own band: HIGH
0, fixed 10.11.2 (semver)10.11.2
10.11.2npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0