CVE-2024-40493

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`.
Configurations

Configuration 1 (hide)

cpe:2.3:a:keith-cullen:freecoap:1.0:*:*:*:*:*:*:*

History

25 Oct 2024, 17:01

Type Values Removed Values Added
First Time Keith-cullen
Keith-cullen freecoap
CPE cpe:2.3:a:keith-cullen:freecoap:1.0:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 5.3
v2 : unknown
v3 : 9.8
References () https://gist.github.com/dqp10515/fe80005e2fb58ed8ada178ac017e4ad4 - () https://gist.github.com/dqp10515/fe80005e2fb58ed8ada178ac017e4ad4 - Third Party Advisory
References () https://github.com/keith-cullen/FreeCoAP/issues/37 - () https://github.com/keith-cullen/FreeCoAP/issues/37 - Exploit, Issue Tracking

23 Oct 2024, 16:35

Type Values Removed Values Added
CWE CWE-476
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3

23 Oct 2024, 15:12

Type Values Removed Values Added
Summary
  • (es) La desreferencia de puntero nulo en la función `coap_client_exchange_blockwise2` en Keith Cullen FreeCoAP 1.0 permite a atacantes remotos provocar una denegación de servicio y potencialmente ejecutar código arbitrario a través de un paquete CoAP especialmente manipulado que hace que `coap_msg_get_payload(resp)` devuelva un puntero nulo, que luego se desreferencia en una llamada a `memcpy`.

22 Oct 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-22 22:15

Updated : 2024-10-25 17:01


NVD link : CVE-2024-40493

Mitre link : CVE-2024-40493

CVE.ORG link : CVE-2024-40493


JSON object : View

Products Affected

keith-cullen

  • freecoap
CWE
CWE-476

NULL Pointer Dereference