#VU79821 Heap-based buffer overflow in Fast DDS


Published: 2023-08-22

Vulnerability identifier: #VU79821

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-39946

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Fast DDS
Server applications / Other server solutions

Vendor: eProsima

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in eprosima::fastdds::dds::ParameterPropertyList_t::push_back_helper() function. A remote attacker can send an overly long CDR string to the discovery multicast port, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Fast DDS: 2.11.0, 2.10.0 - 2.10.1, 2.9.0 - 2.9.1, 2.8.0 - 2.8.2, 2.7.0 - 2.7.2, 2.6.0 - 2.6.5, 2.5.0 - 2.5.2, 2.4.0 - 2.4.2, 2.3.0 - 2.3.6, 2.2.0 - 2.2.1, 2.1.0 - 2.1.4, 2.0.0 - 2.0.3


External links
http://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc
http://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx
http://www.debian.org/security/2023/dsa-5481


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability