OpenDDS: out-of-bounds `rd_ptr` dereference in `RtpsSampleHeader::init` — triggered by malformed RTPS submessage, remotely exploitable denial of service
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.7epss 0.4%
exploitation probability
0.4%top 65% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Affected products
OpenDDS · OpenDDSReferences
https://github.com/OpenDDS/OpenDDS/commit/3ded3341e89db88e4c4e09d5153e05730b0a84cehttps://github.com/OpenDDS/OpenDDS/commit/b46382ebc50d46f933ad6c860a396bffa97adbd7https://github.com/OpenDDS/OpenDDS/commit/d6bdddde9ee07f9ee0b461680e5fb64f95cd1251https://github.com/OpenDDS/OpenDDS/commit/e5aee3f5b18ee7174d66c3e7818270e1ba2cc2fahttps://github.com/OpenDDS/OpenDDS/pull/5210https://github.com/OpenDDS/OpenDDS/releases/tag/v3.34.0https://github.com/OpenDDS/OpenDDS/security/advisories/GHSA-wcr7-gccq-vv56