CVE-2024-36128:
Directus is soft-locked by providing a string value to random string util
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.63157%
CWE
Published
6/4/2024
Updated
6/4/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
directus | npm | <= 10.11.1 | 10.11.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
Both functions handle the random string generation endpoint and shared the same vulnerability pattern: 1) Missing type validation for the 'length' parameter allowed non-integer inputs 2) Direct conversion using Number() without validation produced NaN 3) Passing invalid values to nanoid corrupted application state. The commit diff shows both locations received validation fixes (Joi schema in utils.ts, bounds check in graphql.ts), confirming these were the vulnerable entry points.