Description
OpenDDS is an open source C++ implementation of the Object Management Group (OMG) Data Distribution Service (DDS). Prior to 3.34.0, a network attacker can crash a reachable OpenDDS participant by sending a malformed RTPS UDP submessage whose crafted length or sequence-number state causes dds/DCPS/transport/rtps_udp/RtpsUdpReceiveStrategy.cpp in RtpsUdpReceiveStrategy::handle_input() to advance ACE_Message_Block::rd_ptr() beyond valid data. The parser can then call dds/DCPS/transport/rtps_udp/RtpsSampleHeader.cpp in RtpsSampleHeader::init(), which dereferences the invalid read pointer without first validating it against wr_ptr() or ensuring that a complete submessage header remains. The resulting SIGSEGV occurs in the receive thread, terminates the DDS process, and destroys the DDS entities hosted by that participant. No authentication, prior protocol state, or victim interaction is required. This issue is fixed in version 3.34.0.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
OpenDDS OpenDDS
< 3.34.0affected
References
- https://github.com/OpenDDS/OpenDDS/security/advisories/GHSA-wcr7-gccq-vv56 ↗
- https://github.com/OpenDDS/OpenDDS/pull/5210 ↗
- https://github.com/OpenDDS/OpenDDS/commit/3ded3341e89db88e4c4e09d5153e05730b0a84ce ↗
- https://github.com/OpenDDS/OpenDDS/commit/b46382ebc50d46f933ad6c860a396bffa97adbd7 ↗
- https://github.com/OpenDDS/OpenDDS/commit/d6bdddde9ee07f9ee0b461680e5fb64f95cd1251 ↗
- https://github.com/OpenDDS/OpenDDS/commit/e5aee3f5b18ee7174d66c3e7818270e1ba2cc2fa ↗
- https://github.com/OpenDDS/OpenDDS/releases/tag/v3.34.0 ↗