#VU79821 Heap-based buffer overflow in Fast DDS - CVE-2023-39946


Vulnerability identifier: #VU79821

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

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.0.0 - 2.0.3, 2.1.0 - 2.11.0, 2.2.0 - 2.2.1, 2.3.0 - 2.3.6, 2.4.0 - 2.4.2, 2.5.0 - 2.5.2, 2.6.0 - 2.6.5, 2.7.0 - 2.7.2, 2.8.0 - 2.8.2, 2.9.0 - 2.9.1


External links
https://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc
https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx
https://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