CVE-2023-42459 Malformed DATA submessage leads to bad-free error in Fast-DDS

High 8.6 Published Updated

Remote attackers can crash Fast-DDS processes or potentially execute code by sending malformed DATA submessages to discovery locators.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-42459?

CVE-2023-42459 is a high-severity use after free vulnerability in eProsima Fast-DDS, published on 16 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Fast DDS is a C++ implementation of the DDS (Data Distribution Service) standard of the OMG (Object Management Group). In affected versions specific DATA submessages can be sent to a discovery locator which may trigger a free error. This can remotely crash any Fast-DDS process. The call to free() could potentially leave the pointer in the attackers control which could lead to a double free. This issue has been addressed in versions 2.12.0, 2.11.3, 2.10.3, and 2.6.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-590, CWE-416, CWE-415

Which versions are affected by CVE-2023-42459?

It affects 1 product.

Products include Eprosima Fast Dds.

How do I fix CVE-2023-42459?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-42459 being exploited?

There is no known exploitation of CVE-2023-42459 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2023-42459, DSA-5568-1, GHSA-gq8g-fj58-22gm, UBUNTU-CVE-2023-42459.

Is CVE-2023-42459 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free