GHSA-XW72-C69J-H2RJ
Directus is vulnerable to denial of service through unauthenticated Argon2 hash utility endpoints
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 12.1.0 | directus · -35 d desde divulgación | |
| Divulgación | Publicada | GHSA-XW72-C69J-H2RJ divulgada · CVSS 7.5 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Directus exposed the utility endpoints `POST /utils/hash/generate` and `POST /utils/hash/verify` to unauthenticated callers. The verify endpoint validated a caller-supplied Argon2 hash directly. Because Argon2 reads its cost parameters (memory, iterations, parallelism) from the encoded hash string, an unauthenticated attacker could supply a hash with very high cost parameters and force the server to perform an expensive verification for each request.
Impact
An unauthenticated attacker can trigger high-cost password-verification work with a small number of requests. Because each verification can be configured to allocate a large amount of memory and CPU, a low volume of concurrent requests can exhaust server resources. This shares the same compute path used by legitimate authentication, so login and other authentication flows are degraded or made unavailable.
In testing, 8 concurrent requests increased administrator login latency from roughly 0.5 seconds to 6.6-7.1 seconds (about 13-14x slower than baseline). Higher-cost parameters and greater concurrency can drive the host toward memory exhaustion and process failure.
Affected component
The `/utils/hash/generate` and `/utils/hash/verify` HTTP endpoints (and their GraphQL and SDK equivalents), which were reachable without authentication and did not enforce a limit on the Argon2 cost parameters accepted from the request.
Credits
Reported by @lalalala5678
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmdirectus |
Corregida | 12.1.0 | -35 d | 12.6.1 no afectada |
12.1.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/directus/directus/security/advisories/GHSA-xw72-c69j-h2rjLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
