Vulnerabilities · 2023 · Eprosima
CVE-2023-39946
Eprosima Fast Dds vulnerability
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.
Affected products
Fast Dds, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Eprosima Fast Dds runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc · Third Party Advisory
- github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx · Third Party Advisory
- www.debian.org/security/2023/dsa-5481 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2023-39946
- cve.org/CVERecord?id=CVE-2023-39946
More vulnerabilities in Eprosima products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.