odhcpdのDHCPv6処理でメモリ解放後の再利用により隣接ネットワークからサービス停止のおそれ
概要
OpenWrt で使われる DHCPv6 サーバー odhcpd に、解放済みメモリを参照する脆弱性(解放後使用)が見つかりました。隣接ネットワーク上の攻撃者が認証なしで細工したリクエストを送ると、サービス停止や DHCPv6 の再設定用鍵の取り違えが起きるおそれがあります。影響を受けるのは 25.12 より前の版で、25.12 で修正されています。
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
OpenWrt で使われる DHCPv6 サーバー odhcpd に、解放済みメモリを参照する脆弱性(解放後使用)が見つかりました。隣接ネットワーク上の攻撃者が認証なしで細工したリクエストを送ると、サービス停止や DHCPv6 の再設定用鍵の取り違えが起きるおそれがあります。影響を受けるのは 25.12 より前の版で、25.12 で修正されています。
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| openwrt | odhcpd | — | — |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
odhcpd is the DHCPv6, DHCPv4, and router-advertisement server used by OpenWrt. Prior to version 25.12, odhcpd's DHCPv6 IA handler keeps a per-message first lease pointer so multiple IA options in one message reuse the same Reconfigure authentication key. A DHCPv6 REQUEST from an adjacent-network client can make the first IA set first, then make a later same-IAID IA fail the on-link check and free that same lease, leaving first dangling. A following IA in the same packet allocates a new lease and copies first->key, producing a 16-byte heap-use-after-free read. ASan confirms the UAF; native tracing shows the packet shape can deterministically reclaim the freed lease as the destination allocation, producing a zeroed Reconfigure key copy. The validated impact is unauthenticated adjacent-network denial of service and DHCPv6 Reconfigure/ForceRenew key confusion. Arbitrary PC control is not proven for this UAF alone. This issue has been patched in version 25.12.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com