NULL pointer dereference in Keith-Cullen Freecoap
CVE-2024-40493
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.008 · 56.6th percentile
- Published
- 2024-10-22
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`.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.008, 56.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Keith-Cullen Freecoap — versions 1.0
Weakness classification (CWE)
References
- github.com/keith-cullen/FreeCoAP/issues/37 (Exploit, Issue Tracking)
- gist.github.com/dqp10515/fe80005e2fb58ed8ada178ac017e4ad4 (Third Party Advisory)