GHSA-PVFX-RX4X-PHRR
Unsanitized presence key crashes Presence tracker
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-PVFX-RX4X-PHRR divulgada · CVSS 8.2 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
A channel join with a non-string presence key (e.g. a JSON object as `name`) crashes the `Phoenix.Presence` tracker shard, killing every tracked channel/LiveView process and wiping presence. Repeated joins take down the application supervisor. Applications are advised to either upgrade or validate the arguments they pass to `Presence.track/2` and `Presence.track/3`, forcing the presence key to be a string.
Impact
Remote denial of service. It affects any app that uses `Phoenix.Presence` with unsanitized client keys, or with a `fetch/2` that can raise on one. The attacker only needs to be able to join a channel.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Hexphoenix |
Corregida | 1.5.16, 1.6.18, 1.7.25, 1.8.17 | — | — |
1.5.161.6.181.7.251.8.17Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/phoenixframework/phoenix/security/advisories/GHSA-pvfx-rx4x-phrrLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
