8.2
CWE
787 122
Advisory Published
CVE Published
Updated

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

First published: Fri Aug 11 2023(Updated: )

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.

Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
ubuntu/fastdds<2.10.1+
2.10.1+
ubuntu/fastdds<2.5.0+
2.5.0+
ubuntu/fastdds<2.9.1+
2.9.1+
eprosima Fast DDS>=2.6.0<2.6.6
eprosima Fast DDS>=2.9.0<2.9.2
eprosima Fast DDS>=2.10.0<2.10.2
eprosima Fast DDS=2.11.0
Debian Debian Linux=11.0
Debian Debian Linux=12.0
>=2.6.0<2.6.6
>=2.9.0<2.9.2
>=2.10.0<2.10.2
=2.11.0
=11.0
=12.0
debian/fastdds
2.1.0+ds-9+deb11u1
2.9.1+ds-1+deb12u2
2.11.2+ds-6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2023-39946?

    CVE-2023-39946 is a vulnerability in eprosima Fast DDS that allows for a heap overflow by providing a PID_PROPERTY_LIST parameter with a CDR string of larger length.

  • How does CVE-2023-39946 affect eprosima Fast DDS?

    CVE-2023-39946 affects eprosima Fast DDS versions 2.6.0 to 2.6.6, 2.9.0 to 2.9.2, 2.10.0 to 2.10.2, and 2.11.0.

  • What is the severity of CVE-2023-39946?

    CVE-2023-39946 has a severity rating of 7.5, which is considered high.

  • How can I fix CVE-2023-39946?

    To fix CVE-2023-39946, upgrade to eprosima Fast DDS versions 2.6.7, 2.9.3, 2.10.3, or 2.11.1.

  • Where can I find more information about CVE-2023-39946?

    You can find more information about CVE-2023-39946 in the eprosima Fast DDS GitHub repository and the Debian Security Advisory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203