{"id":"CVE-2023-39946","published":"2023-08-11T13:37:07Z","modified":"2025-02-13T17:03:16Z","title":"Heap overflow in push_back_helper due to a CDR message","vendor":"eProsima","product":"Fast-DDS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01111,"percentile":0.6557,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2023/dsa-5481","tags":[]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":13.11},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"eprosima","affectedVersions":[{"vendor":"eProsima","product":"Fast-DDS","versions":["< 2.6.6",">= 2.7.0, < 2.9.2",">= 2.10.0, < 2.10.2","= 2.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-10T14:22:11.929256Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-43644","exploited":false,"provenance":"source"}}