Lucene search

K
cvelistGitHub_MCVELIST:CVE-2023-39946
HistoryAug 11, 2023 - 1:37 p.m.

CVE-2023-39946 Heap overflow in push_back_helper due to a CDR message

2023-08-1113:37:07
CWE-122
GitHub_M
www.cve.org
8
heap overflow
push_back_helper
cdr message
eprosima fast dds
data distribution service
memcpy
parameterpropertylist_t
remote crash

CVSS3

8.2

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

AI Score

8.3

Confidence

High

EPSS

0.001

Percentile

31.1%

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.

CNA Affected

[
  {
    "vendor": "eProsima",
    "product": "Fast-DDS",
    "versions": [
      {
        "version": "< 2.6.6",
        "status": "affected"
      },
      {
        "version": ">= 2.7.0, < 2.9.2",
        "status": "affected"
      },
      {
        "version": ">= 2.10.0, < 2.10.2",
        "status": "affected"
      },
      {
        "version": "= 2.11.0",
        "status": "affected"
      }
    ]
  }
]

CVSS3

8.2

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

AI Score

8.3

Confidence

High

EPSS

0.001

Percentile

31.1%