OSV-2022-150 Heap-buffer-overflow in coap_split_uri_sub

Not scored Published

A heap buffer overflow in the CoAP library allows attackers to cause denial of service or potentially execute code via crafted URIs.

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

What is OSV-2022-150?

OSV-2022-150 is a memory corruption vulnerability in libcoap, published on 14 Feb 2022. It can be exploited over the network, with no action from the victim.

Official description

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

Crash type: Heap-buffer-overflow READ 1 Crash state: coap_split_uri_sub coap_get_uri_path

Which versions are affected by OSV-2022-150?

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

PackageAffectedFixed in
libcoap OSS-FuzzAll versionsNone

How do I fix OSV-2022-150?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is OSV-2022-150 being exploited?

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

Sources

Is OSV-2022-150 in your software?

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

Check your SBOMs for free