CVE-2026-32689
Phoenix: Long-poll NDJSON body splitting causes large memory allocation
描述
### Summary An unauthenticated denial-of-service vulnerability in Phoenix's long-poll transport allows a remote client to allocate a large amount of memory with a HTTP request. A handful of concurrent requests can be sufficient to let the node run out of memory. See also https://cna.erlef.org/cves/CVE-2026-32689.html. ### Details The unoptimised code path exists on the `application/x-ndjson` POST handling in the LongPoll transport. The endpoint requires only a session token, which any client can obtain by issuing a GET to the same URL with a matching `Origin` header, so exploitation is unauthenticated. ### Impact Anyone who runs a LiveView app with a public Longpoll socket or uses a `Phoenix.Socket` with longpoll option. Longpoll has been enabled for newly generated Phoenix projects since Phoenix 1.7.11.
如何修補 CVE-2026-32689
要修補 CVE-2026-32689,請將受影響套件升級到下列已修補版本。
- —升級至 1.7.22 或更新版本
CVE-2026-32689 正在被利用嗎?
低 — EPSS 為 0.5%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- >= 1.7.0, < 1.7.22
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |