Descrizione
Uncontrolled Resource Consumption vulnerability in ash-project ash allows an attacker to exhaust the memory of the node via a crafted keyset pagination cursor. Read actions with keyset pagination deserialize the client-supplied page[:after] or page[:before] cursor in decode_values/2 in lib/ash/page/keyset.ex, which base64-decodes the value and passes it to :erlang.binary_to_term/2 without bounding its size. The Erlang external term format supports zlib-compressed payloads, which the decoder inflates transparently, so a cursor of a few kilobytes can allocate tens of megabytes of heap in a single call. Ash itself only ever encodes cursors uncompressed, so the decoder accepts a term shape its encoder never produces. Concurrent requests aggregate these allocations and can terminate the node. This issue affects ash: from 1.17.0 before 3.31.1.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Ash-Hq Ash Framework: vulnerabili le versioni dalla
1.17.0precedenti alla3.31.1→ aggiornare alla3.31.1o successiva.
Patch e advisory
- Patch: github.com/ash-project/ash/commit/1816b103af975…
- Patch: github.com/ash-project/ash/security/advisories/…
- Patch: osv.dev/vulnerability/EEF-CVE-2026-69659
- Patch: github.com/ash-project/ash/security/advisories/…
- Advisory di terze parti: cna.erlef.org/cves/CVE-2026-69659.html
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Bloccare l'accesso esterno agli endpoint che ricevono oggetti serializzati e, se supportato, abilitare una allowlist delle classi deserializzabili.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Ash-Hq | Ash Framework | ≥ 1.17.0 < 3.31.1 | 3.31.1 |
Riferimenti
- Patchhttps://github.com/ash-project/ash/commit/1816b103af975221210478d61db20adcea700319
- Patchhttps://github.com/ash-project/ash/security/advisories/GHSA-j35q-v8h8-7mwq
- Patchhttps://osv.dev/vulnerability/EEF-CVE-2026-69659
- Patchhttps://github.com/ash-project/ash/security/advisories/GHSA-j35q-v8h8-7mwq
- Advisory di terze partihttps://cna.erlef.org/cves/CVE-2026-69659.html
- Riferimentohttps://github.com/ash-project/ash/commit/f8fadc67e67c955bb68b3a8d642be13e2b7e8ca9