Vulnerability · Published Mar 20, 2024 · Assigned by GitHub_M

CVE-2024-28231Manipulated DATA Submessage causes a heap-buffer-overflow error

Critical 9.7

In plain English

A critical-severity heap buffer overflow in Fast-DDS from eProsima. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.7Critical
Exploit odds (30 days)0.9%top 38.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12fastddsno fix listedDEBIAN-CVE-2024-28231
Debian:13fastdds2.14.0+ds-2DEBIAN-CVE-2024-28231
Ubuntu:24.04:LTSfastddsno fix listedUBUNTU-CVE-2024-28231
Ubuntu:25.10fastddsno fix listedUBUNTU-CVE-2024-28231
Ubuntu:26.04:LTSfastddsno fix listedUBUNTU-CVE-2024-28231
Ubuntu:26.10fastddsno fix listedUBUNTU-CVE-2024-28231

Affected products (as reported)

VendorProductVersions
eProsima Fast-DDS < 2.6.8>= 2.7.0, < 2.10.4>= 2.11.0, < 2.12.2>= 2.13.0, < 2.13.4

Weakness: CWE-122 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References