Mongoose(組み込み向けWebサーバー)にIPv6パケットを受けるとプロセスが停止する脆弱性
Summary
Mongooseの7.21から7.24までの版では、IPv6とTCP/IPのパケットを受けたときにヌルポインタ参照が起き、プロセスやネットワークのタスクが停止するおそれがあります。ネットワーク上の攻撃者がIPv6パケットを届けられれば悪用できるため、CVSS v4.0は8.2です。7.24で修正されているので、7.24以降へのアップデートを進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Mongooseの7.21から7.24までの版では、IPv6とTCP/IPのパケットを受けたときにヌルポインタ参照が起き、プロセスやネットワークのタスクが停止するおそれがあります。ネットワーク上の攻撃者がIPv6パケットを届けられれば悪用できるため、CVSS v4.0は8.2です。7.24で修正されているので、7.24以降へのアップデートを進めてください。
Original description The description as published by the source.
Mongoose is an embedded web server and network library. From 7.21 until 7.24, Mongoose's built-in TCP/IP stack with MG_ENABLE_TCPIP and MG_ENABLE_IPV6 enabled can dereference a null IPv4 header in getpeer() in src/net_builtin.c when rx_tcp() receives an IPv6/TCP packet whose source and destination ports match an established IPv4 connection. The cross-family lookup reaches pkt->ip->src even though only pkt->ip6 is present, allowing a network attacker able to deliver IPv6 packets to crash the process or networking task. This issue is fixed in 7.24.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com