OSV-2023-158 Heap-use-after-free in ddsi_type_unref_impl_locked

Not scored Published

A heap-use-after-free vulnerability in the DDS library allows attackers to cause denial of service or potentially execute code via crafted network packets.

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

What is OSV-2023-158?

OSV-2023-158 is an use after free vulnerability in cyclonedds, published on 10 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=56837

Crash type: Heap-use-after-free READ 4
Crash state:
ddsi_type_unref_impl_locked
ddsi_type_unref_locked
ddsi_xt_type_fini

Which versions are affected by OSV-2023-158?

1 open source package ship an affected version, including cyclonedds.

PackageAffectedFixed in
cyclonedds OSS-FuzzAll versionsNone

How do I fix OSV-2023-158?

No fix has been published for OSV-2023-158 yet. Limit exposure of the affected software until one is available.

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 OSV-2023-158 being exploited?

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

Sources

Is OSV-2023-158 in your software?

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

Check your SBOMs for free