CVE-2023-39946

Source
https://nvd.nist.gov/vuln/detail/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:07Z
Modified
2025-11-04T19:33:47Z
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
{
    "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
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.6.6"
        }
    ]
}
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"
        }
    ]
}
Type
GIT
Repo
https://github.com/eprosima/fast-dds
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "= 2.11.0"
        }
    ]
}