CVE-2024-28231

CRITICAL

Eprosima Fast Dds < 2.6.8 - Out-of-Bounds Write

Title source: rule

Description

eprosima Fast DDS is a C++ implementation of the Data Distribution Service standard of the Object Management Group. Prior to versions 2.14.0, 2.13.4, 2.12.3, 2.10.4, and 2.6.8, manipulated DATA Submessage can cause a heap overflow error in the Fast-DDS process, causing the process to be terminated remotely. Additionally, the payload_size in the DATA Submessage packet is declared as uint32_t. When a negative number, such as -1, is input into this variable, it results in an Integer Overflow (for example, -1 gets converted to 0xFFFFFFFF). This eventually leads to a heap-buffer-overflow, causing the program to terminate. Versions 2.14.0, 2.13.4, 2.12.3, 2.10.4, and 2.6.8 contain a fix for this issue.

Exploits (1)

nomisec WORKING POC
by grimmmbo · poc
https://github.com/grimmmbo/ros2_CVE-2024-28231

Scores

CVSS v3 9.6
EPSS 0.0085
EPSS Percentile 74.9%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Details

CWE
CWE-122 CWE-787
Status published
Products (1)
eprosima/fast_dds < 2.6.8
Published Mar 20, 2024
Tracked Since Feb 18, 2026