CVE-2024-0962 obgm libcoap Configuration File coap_oscore.c get_split_entry stack-based overflow
A stack-based buffer overflow in libcoap allows remote attackers to execute arbitrary code or cause denial of service via crafted configuration files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-0962?
CVE-2024-0962 is a medium-severity memory corruption vulnerability in obgm libcoap, published on 27 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A vulnerability was found in obgm libcoap 4.3.4. It has been rated as critical. Affected by this issue is the function get_split_entry of the file src/coap_oscore.c of the component Configuration File Handler. The manipulation leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. VDB-252206 is the identifier assigned to this vulnerability.
Which versions are affected by CVE-2024-0962?
It affects 1 product.
Products include Libcoap Libcoap.
How do I fix CVE-2024-0962?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-0962 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0962 exists.
Other vulnerabilities in obgm libcoap
Sources
Also known as DEBIAN-CVE-2024-0962, GHSA-7qg3-c5c5-86rv, UBUNTU-CVE-2024-0962.