Skip to main content
← All vulnerabilities
CVE-2023-39946

Heap overflow in push_back_helper due to a CDR message

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.6, 2.9.2, 2.10.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

eprosima Fast DDS is a C++ implementation of the Data Distribution Service standard of the Object Management Group. Prior to versions 2.11.1, 2.10.2, 2.9.2, and 2.6.6, heap can be overflowed by providing a PID_PROPERTY_LIST parameter that contains a CDR string with length larger than the size of actual content. In `eprosima::fastdds::dds::ParameterPropertyList_t::push_back_helper`, `memcpy` is called to first copy the octet'ized length and then to copy the data into `properties_.data`. At the second memcpy, both `data` and `size` can be controlled by anyone that sends the CDR string to the discovery multicast port. This can remotely crash any Fast-DDS process. Versions 2.11.1, 2.10.2, 2.9.2, and 2.6.6 contain a patch for this issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • eProsima Fast-DDS

    fixed in 2.6.6; From 2.7.0 · fixed in 2.9.2; From 2.10.0 · fixed in 2.10.2

References 3

GitHub · eProsima/Fast-DDS

debian.org