本文へ移動
English version →
高 8.2

Zephyrのwireguardで認証されていない通信から通信相手の宛先が書き換えられる

CVE-2026-79977 SecPulse初出

概要

Zephyrの WireGuard 実装では、認証されていないトランスポートデータメッセージの送信元アドレスで通信相手のエンドポイントが書き換えられ、オフパスから通信トンネルを乗っ取られるおそれがあります。影響を受けるのは zephyr 4.4.0 から 4.4.2 までです。修正版の有無については最新の情報を確認してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Zephyrの WireGuard 実装では、認証されていないトランスポートデータメッセージの送信元アドレスで通信相手のエンドポイントが書き換えられ、オフパスから通信トンネルを乗っ取られるおそれがあります。影響を受けるのは zephyr 4.4.0 から 4.4.2 までです。修正版の有無については最新の情報を確認してください。

影響パッケージ

パッケージ影響を受ける版 → 修正版
zephyrprojectzephyr
4.4.0 以上 4.5.0 未満→ 4.5.0

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

The WireGuard VPN service in subsys/net/lib/wireguard/wg.c updated the peer endpoint from a message it could not authenticate. In handle_transport_data(), when the 32-bit receiver index of an incoming transport-data message matched no session, the code both scheduled a new handshake and copied the datagram's source address into peer->endpoint with memcpy(&peer->endpoint, peer_addr, sizeof(peer->endpoint)). Because the receiver index is unknown, there is no key with which such a message could be verified, so the address written into peer->endpoint is entirely attacker-supplied. Every other endpoint update in the implementation happens only after authentication — after the Noise handshake in handle_handshake_init(), or after AEAD decryption plus the anti-replay check in wg_process_data_message().

The WireGuard listener is registered with net_udp_register() using no remote address or port filter and defaults to UDP port 51820 (CONFIG_WIREGUARD_PORT), and wg_ctrl_recv() resolves the peer by interface rather than by any cryptographic identity. Any host able to send a UDP datagram to that port can therefore reach the defect off-path, with no need to observe legitimate traffic: a 16-byte datagram carrying the transport-data type, zeroed reserved bytes and an arbitrary receiver index is sufficient. The vulnerable branch runs whenever the peer has neither a valid handshake nor a current keypair — the state at boot and after a session expires.

A single spoofed datagram redirects peer…

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく