CVE-2024-40493 Null dereference in n/a
Remote attackers can cause denial of service or execute arbitrary code via crafted CoAP packets in FreeCoAP library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-40493?
CVE-2024-40493 is a medium-severity vulnerability in n/a, published on 22 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Null Pointer Dereference in `coap_client_exchange_blockwise2` function in Keith Cullen FreeCoAP 1.0 allows remote attackers to cause a denial of service and potentially execute arbitrary code via a specially crafted CoAP packet that causes `coap_msg_get_payload(resp)` to return a null pointer, which is then dereferenced in a call to `memcpy`.
Weakness: CWE-476
Which versions are affected by CVE-2024-40493?
It affects 1 product.
Products include Keith-Cullen Freecoap.
How do I fix CVE-2024-40493?
No fix has been published for CVE-2024-40493 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-40493 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-40493 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cr59-3vcq-rrw6.