8.2
HIGH
CVE-2023-39946
eProsima Fast DDS CDR String Heap Overflow Vulnerability
Description

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.

INFO

Published Date :

Aug. 11, 2023, 2:15 p.m.

Last Modified :

Aug. 22, 2023, 2:21 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.2

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2023-39946 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Eprosima fast_dds
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-39946.

URL Resource
https://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc Third Party Advisory
https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx Third Party Advisory
https://www.debian.org/security/2023/dsa-5481 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-39946 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-39946 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Aug. 22, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc No Types Assigned https://github.com/eProsima/Fast-DDS/commit/349227005827e8a67a0406b823138b5068cc47dc Third Party Advisory
    Changed Reference Type https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx No Types Assigned https://github.com/eProsima/Fast-DDS/security/advisories/GHSA-j297-rg6j-m7hx Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2023/dsa-5481 No Types Assigned https://www.debian.org/security/2023/dsa-5481 Third Party Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:eprosima:fast_dds:*:*:*:*:*:*:*:* versions from (including) 2.6.0 up to (excluding) 2.6.6 *cpe:2.3:a:eprosima:fast_dds:*:*:*:*:*:*:*:* versions from (including) 2.9.0 up to (excluding) 2.9.2 *cpe:2.3:a:eprosima:fast_dds:*:*:*:*:*:*:*:* versions from (including) 2.10.0 up to (excluding) 2.10.2 *cpe:2.3:a:eprosima:fast_dds:2.11.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 21, 2023

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2023/dsa-5481 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-39946 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-39946 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.01%

score

0.31062

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability