CVE-2024-52802
published high CVSS 3.1 · 7.5RIOT-OS missing dhcpv6_opt_t minimum header length check
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| RIOT-OS | RIOT | <= 2024.04 (affected) | GitHub_M · cna |
| riot-os | riot | 0 through 2024.04 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-125 CWE-125: Out-of-bounds Read
References
1Provider assertions
2GitHub_M · cna
RIOT-OS missing dhcpv6_opt_t minimum header length check
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f6e8738a5ed6eab70c0e7474c2fc6276eb94e1994707d9a3d9ec2aef2bee2947
- Ingested
- 23 Sep 2026, 08:30:39 UTC
- Source record
- Official CVE record