{"id":"CVE-2024-28231","state":"PUBLISHED","title":"Manipulated DATA Submessage causes a heap-buffer-overflow error","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.","publishedAt":"2024-03-20T20:03:18.402Z","updatedAt":"2024-08-02T00:48:49.620Z","severity":{"score":9.7,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["eProsima Fast-DDS"],"affected":[{"vendor":"eProsima","product":"Fast-DDS","versions":[{"version":"< 2.6.8","status":"affected"},{"version":">= 2.7.0, < 2.10.4","status":"affected"},{"version":">= 2.11.0, < 2.12.2","status":"affected"},{"version":">= 2.13.0, < 2.13.4","status":"affected"}]}],"references":["https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-9m2j-qw67-ph4w","https://github.com/eProsima/Fast-DDS/commit/355706386f4af9ce74125eeec3c449b06113112b"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/28xxx/CVE-2024-28231.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-28231","state":"PUBLISHED","datePublished":"2024-03-20T20:03:18.402Z","dateUpdated":"2024-08-02T00:48:49.620Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-07T14:33:30.034Z"},"containers":{"cna":{"title":"Manipulated DATA Submessage causes a heap-buffer-overflow error","descriptions":[{"lang":"en","value":"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":[{"vendor":"eProsima","product":"Fast-DDS","versions":[{"version":"< 2.6.8","status":"affected"},{"version":">= 2.7.0, < 2.10.4","status":"affected"},{"version":">= 2.11.0, < 2.12.2","status":"affected"},{"version":">= 2.13.0, < 2.13.4","status":"affected"}]}],"references":[{"url":"https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-9m2j-qw67-ph4w","name":"https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-9m2j-qw67-ph4w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/eProsima/Fast-DDS/commit/355706386f4af9ce74125eeec3c449b06113112b","name":"https://github.com/eProsima/Fast-DDS/commit/355706386f4af9ce74125eeec3c449b06113112b","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"HIGH","baseScore":9.7,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-03-20T20:03:18.402Z"},"source":{"advisory":"GHSA-9m2j-qw67-ph4w","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"eprosima","product":"fast_dds","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.6.8","versionType":"custom"}],"cpes":["cpe:2.3:a:eprosima:fast_dds:-:*:*:*:*:*:*:*"]},{"vendor":"eprosima","product":"fast_dds","defaultStatus":"unknown","versions":[{"version":"2.7.0","status":"affected","lessThan":"2.10.4","versionType":"custom"}],"cpes":["cpe:2.3:a:eprosima:fast_dds:2.7.0:*:*:*:*:*:*:*"]},{"vendor":"eprosima","product":"fast_dds","defaultStatus":"unknown","versions":[{"version":"2.11.0","status":"affected","lessThan":"2.12.2","versionType":"custom"}],"cpes":["cpe:2.3:a:eprosima:fast_dds:2.11.0:*:*:*:*:*:*:*"]},{"vendor":"eprosima","product":"fast_dds","defaultStatus":"unknown","versions":[{"version":"2.13.0","status":"affected","lessThan":"2.13.4","versionType":"custom"}],"cpes":["cpe:2.3:a:eprosima:fast_dds:2.13.0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-19T18:04:46.844368Z","id":"CVE-2024-28231","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-19T18:12:42.423Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-9m2j-qw67-ph4w","name":"https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-9m2j-qw67-ph4w","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/eProsima/Fast-DDS/commit/355706386f4af9ce74125eeec3c449b06113112b","name":"https://github.com/eProsima/Fast-DDS/commit/355706386f4af9ce74125eeec3c449b06113112b","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:48:49.620Z"}}]}}}