Phoenixの脆弱性、未認証の攻撃者にサービス停止させられるおそれ
概要
Phoenixには、クライアントが選んだ旧シリアライザーによって、バイナリのブロードキャストが失敗しサービス拒否の状態になる脆弱性があります。影響するのはHex版の1.5.7から1.5.16未満、1.6.0-rc.0から1.6.18未満、1.7.0-rc.0から1.7.25未満、1.8.0-rc.0から1.8.17未満です。1.5.16、1.6.18、1.7.25、1.8.17のいずれかへの更新で修正できます。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Phoenixには、クライアントが選んだ旧シリアライザーによって、バイナリのブロードキャストが失敗しサービス拒否の状態になる脆弱性があります。影響するのはHex版の1.5.7から1.5.16未満、1.6.0-rc.0から1.6.18未満、1.7.0-rc.0から1.7.25未満、1.8.0-rc.0から1.8.17未満です。1.5.16、1.6.18、1.7.25、1.8.17のいずれかへの更新で修正できます。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| phoenixframeworkphoenix |
07b401901fc1d649f126eee6315b5eb01fa5c85c 以上 c255d983e03893ae46abf01d13c3ec3bd20f029c 未満→ c255d983e03893ae46abf01d13c3ec3bd20f029c cf098e9cf7a44ee6479d31d911a97d3c7430c6fe 以上(修正版なし)→ 記載なし |
c255d983e03893ae46abf01d13c3ec3bd20f029c 記載なし |
| Hexphoenix |
1.5.7 以上 1.5.16 未満→ 1.5.16 1.6.0-rc.0 以上 1.6.18 未満→ 1.6.18 1.7.0-rc.0 以上 1.7.25 未満→ 1.7.25 1.8.0-rc.0 以上 1.8.17 未満→ 1.8.17 |
1.5.16 1.6.18 1.7.25 1.8.17 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
Uncaught Exception vulnerability in phoenixframework phoenix allows an unauthenticated attacker to cause a denial of service via a client-selected legacy serializer on binary channel broadcasts.
When an application broadcasts {:binary, data} payloads on a channel topic, any client that connects without a vsn parameter, or with vsn=1.0.0, and joins that topic makes those broadcasts fail. Phoenix.Channel.Server.send/4 encodes each broadcast with every subscriber's own serializer inside the PubSub dispatch loop, calling fastlane!/1 with no rescue, and the negotiated Phoenix.Socket.V1.JSONSerializer raises Protocol.UndefinedError on a binary payload. Every binary broadcast on the topic then crashes the broadcasting process and skips every subscriber dispatched after the attacker. For broadcasts arriving from other nodes the loop runs in the PubSub adapter worker, whose repeated crashes restart the PubSub supervisor and empty the node's subscription registry while sockets stay connected.
This issue affects phoenix: from 1.5.7 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17.
Details
1. Serializer selection. The socket picks its serializer from the client's vsn parameter. A missing vsn or vsn=1.0.0 selects Phoenix.Socket.V1.JSONSerializer, and Phoenix.Channel.Server registers it as the subscriber's fastlane metadata when the channel joins.
2. Shared dispatch. A broadcas…
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package hex.pm
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web cna.erlef.org
- web osv.dev
- web github.com
- web github.com
- web github.com
- web repo.hex.pm