odhcpd DHCPv6処理でスタック上のメモリが漏えいするおそれ
概要
OpenWrtのDHCPv6サーバーであるodhcpdには、IA_NA・IA_PDオプションの解析に不備があり、スタック上のメモリが外部に漏えいするおそれがあります。影響を受けるのはバージョン17.01.0から25.12.3より前のodhcpdです。修正版の25.12.3へ更新してください。
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
OpenWrtのDHCPv6サーバーであるodhcpdには、IA_NA・IA_PDオプションの解析に不備があり、スタック上のメモリが外部に漏えいするおそれがあります。影響を受けるのはバージョン17.01.0から25.12.3より前のodhcpdです。修正版の25.12.3へ更新してください。
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| openwrt | odhcpd | — | — |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
odhcpd is the DHCPv6, DHCPv4, and router-advertisement server used by OpenWrt. From version 17.01.0 to before version 25.12.3, odhcpd's DHCPv6 IA parser accepts an IA_NA or IA_PD option whose body is shorter than struct dhcpv6_ia_hdr, casts the option header to that full structure, and reads ia->iaid before proving that the IA body contains the IAID field. If an unauthenticated network-adjacent client places a zero-length or otherwise short IA option at the end of odhcpd's 8192-byte receive stack buffer, the IAID read crosses from data_buf into adjacent stack memory. The disclosed bytes are then reflected in the DHCPv6 reply IAID; prior ARM validation showed data_buf[8192:8196] disclosing the saved stack canary, and wider stack scans can leak ASLR-useful stack/process contents. This issue has been patched in version 25.12.3.
出典: 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