BACnet Stackのハブに、リモートからメモリを使い果たされる脆弱性
Summary
BACnet StackのBACnet/SCハブでは、接続相手が分割されたWebSocketメッセージを終わらせずに送り続けると、受信用のバッファが無制限に膨らみ、メモリが枯渇するおそれがあります。影響を受けるのは1.4.6より前、1.5.2より前、1.6.1より前の版で、1.4.6、1.5.2、1.6.1、1.7.0で修正されています。修正版への更新をお勧めします。
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.
BACnet StackのBACnet/SCハブでは、接続相手が分割されたWebSocketメッセージを終わらせずに送り続けると、受信用のバッファが無制限に膨らみ、メモリが枯渇するおそれがあります。影響を受けるのは1.4.6より前、1.5.2より前、1.6.1より前の版で、1.4.6、1.5.2、1.6.1、1.7.0で修正されています。修正版への更新をお勧めします。
Original description The description as published by the source.
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.6, 1.5.2, and 1.6.1, the BACnet/SC hub's Linux WebSocket server reassembles fragmented WebSocket messages into a per-connection fragment_buffer. It grows that buffer with realloc() on every non-final frame, with no upper bound. A peer that streams binary continuation fragments and never sets FIN keeps the hub reallocating until the box runs out of memory or the process is OOM-killed. The buffer starts at the maximum legal BVLC-SC NPDU size, but nothing after that ties its growth back to that limit. This issue has been patched in versions 1.4.6, 1.5.2, 1.6.1, and 1.7.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com