CVE-2023-39946

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:eprosima:fast_dds:*:*:*:*:*:*:*:*
cpe:2.3:a:eprosima:fast_dds:*:*:*:*:*:*:*:*
cpe:2.3:a:eprosima:fast_dds:*:*:*:*:*:*:*:*
cpe:2.3:a:eprosima:fast_dds:2.11.0:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*

History

21 Nov 2024, 08:16

Type Values Removed Values Added
Summary
  • (es) eprosima Fast DDS es una implementación en C++ del estándar Data Distribution Service del Object Management Group. Antes de las versiones 2.11.1, 2.10.2, 2.9.2 y 2.6.6, se podía desbordar el heap proporcionando un parámetro PID_PROPERTY_LIST que contuviera una cadena CDR con una longitud mayor que el tamaño del contenido real. En `eprosima::fastdds::dds::ParameterPropertyList_t::push_back_helper`, se llama a `memcpy` para copiar primero la longitud octet'izada y luego copiar los datos en `properties_.data`. En el segundo memcpy, tanto `data` como `size` pueden ser controlados por cualquiera que envíe la cadena CDR al puerto multicast de descubrimiento. Esto puede bloquear remotamente cualquier proceso Fast-DDS. Las versiones 2.11.1, 2.10.2, 2.9.2 y 2.6.6 contienen un parche para este problema.
References () https://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc - Third Party Advisory () https://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc - Third Party Advisory
References () https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx - Third Party Advisory () https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx - Third Party Advisory
References () https://www.debian.org/security/2023/dsa-5481 - Third Party Advisory () https://www.debian.org/security/2023/dsa-5481 - Third Party Advisory
CVSS v2 : unknown
v3 : 7.5
v2 : unknown
v3 : 8.2

22 Aug 2023, 14:21

Type Values Removed Values Added
CWE CWE-122 CWE-787
References
  • (MISC) https://www.debian.org/security/2023/dsa-5481 - Third Party Advisory
References (MISC) https://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc - (MISC) https://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc - Third Party Advisory
References (MISC) https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx - (MISC) https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx - Third Party Advisory
First Time Eprosima
Eprosima fast Dds
Debian debian Linux
Debian
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:eprosima:fast_dds:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
cpe:2.3:a:eprosima:fast_dds:2.11.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

11 Aug 2023, 15:18

Type Values Removed Values Added
New CVE

Information

Published : 2023-08-11 14:15

Updated : 2024-11-21 08:16


NVD link : CVE-2023-39946

Mitre link : CVE-2023-39946

CVE.ORG link : CVE-2023-39946


JSON object : View

Products Affected

debian

  • debian_linux

eprosima

  • fast_dds
CWE
CWE-122

Heap-based Buffer Overflow

CWE-787

Out-of-bounds Write