CVE-2024-52802

RIOT is an operating system for internet of things (IoT) devices. In version 2024.04 and prior, the function `_parse_advertise`, located in `/sys/net/application_layer/dhcpv6/client.c`, has no minimum header length check for `dhcpv6_opt_t` after processing `dhcpv6_msg_t`. This omission could lead to an out-of-bound read, causing system inconsistency. Additionally, the same lack of a header length check is present in the function `_preparse_advertise`, which is called by `_parse_advertise` before handling the request. As of time of publication, no known patched version exists.
References
Configurations

Configuration 1 (hide)

cpe:2.3:o:riot-os:riot:*:*:*:*:*:*:*:*

History

04 Sep 2025, 23:42

Type Values Removed Values Added
Summary
  • (es) RIOT es un sistema operativo para dispositivos de Internet de las cosas (IoT). En la versión 2024.04 y anteriores, la función `_parse_advertise`, ubicada en `/sys/net/application_layer/dhcpv6/client.c`, no tiene una verificación de longitud de encabezado mínima para `dhcpv6_opt_t` después de procesar `dhcpv6_msg_t`. Esta omisión podría provocar una lectura fuera de los límites, lo que causaría una inconsistencia en el sistema. Además, la misma falta de una verificación de longitud de encabezado está presente en la función `_preparse_advertise`, que es llamada por `_parse_advertise` antes de procesar la solicitud. Al momento de la publicación, no existe ninguna versión parcheada conocida.
First Time Riot-os
Riot-os riot
CPE cpe:2.3:o:riot-os:riot:*:*:*:*:*:*:*:*
References () https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-xgv3-pcq6-qmrg - () https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-xgv3-pcq6-qmrg - Exploit, Vendor Advisory

22 Nov 2024, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-11-22 16:15

Updated : 2025-09-04 23:42


NVD link : CVE-2024-52802

Mitre link : CVE-2024-52802

CVE.ORG link : CVE-2024-52802


JSON object : View

Products Affected

riot-os

  • riot
CWE
CWE-20

Improper Input Validation

CWE-125

Out-of-bounds Read