CVE-2023-39946

Source
https://cve.org/CVERecord?id=CVE-2023-39946
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-39946.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-39946
Aliases
  • GHSA-j297-rg6j-m7hx
Downstream
Published
2023-08-11T13:37:07.478Z
Modified
2026-04-10T05:00:32.399617Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
Summary
Heap overflow in push_back_helper due to a CDR message
Details

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39946.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-122"
    ]
}
References

Affected packages

Git / github.com/eprosima/fast-dds

Affected ranges

Type
GIT
Repo
https://github.com/eprosima/fast-dds
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.6.6"
        },
        {
            "last_affected": "= 2.11.0"
        }
    ]
}
Type
GIT
Repo
https://github.com/eprosima/fast-dds
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.7.0"
        },
        {
            "fixed": "2.9.2"
        }
    ]
}
Type
GIT
Repo
https://github.com/eprosima/fast-dds
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.10.0"
        },
        {
            "fixed": "2.10.2"
        }
    ]
}

Affected versions

2.*
2.0.0-beta
2.0.0-rc
Other
Discovery-Time_Data_Typing
v1.*
v1.0.0
v1.3.0
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.8.0-2
v1.9.0
v1.9.0-beta
v1.9.0-beta-2
v2.*
v2.1.0
v2.10.0-rc1
v2.10.1-rc1
v2.11.0
v2.2.0
v2.3.0-1
v2.3.0-api

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-39946.json"