RIOT-OS missing dhcpv6_opt_t minimum header length check
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-52802
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:56 UTC · Revision 1
Source evidence
RIOT-OS missing dhcpv6_opt_t minimum header length check
core-osv · Original sourcePublished 22 Nov 2024, 15:41 UTC
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.
osv:CVE-2024-52802
Complete source record
{
"id": "82a98499c1597ac19d326b66c276f75f3b8b0155467fee46749e12e39ef4d40d",
"url": "https://osv.dev/vulnerability/CVE-2024-52802",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "RIOT-OS missing dhcpv6_opt_t minimum header length check",
"summary": "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.",
"evidence": "osv:CVE-2024-52802",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-52802",
"aliases": [
"CVE-2024-52802",
"GHSA-xgv3-pcq6-qmrg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/riot-os/riot",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "7bec6cb0b125af6ca99f0d850f6069436b1cedc8"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2024.04"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
}
],
"versions": [
"2024.04-devel",
"2024.01-RC1",
"2024.01-devel",
"2023.10-RC1",
"2023.10-devel",
"2023.07-RC1",
"2023.07-devel",
"2023.04-RC1",
"2023.04-devel",
"2023.01-RC1",
"2023.01-devel",
"2022.10-RC1",
"2022.10-devel",
"2022.07-RC1",
"2022.07-devel",
"2022.04-RC1",
"2022.04-devel",
"2022.01-RC1",
"2022.01-devel",
"2021.10-RC1",
"2021.10-devel",
"2021.07-RC1",
"2021.07-devel",
"2021.04-RC1",
"2021.04-devel",
"2021.01-RC1",
"2021.01-devel",
"2020.10-RC1",
"2020.10-devel",
"2020.07-RC1",
"2020.07-devel",
"2020.04-RC1",
"2020.04-devel",
"2020.01-RC1",
"2020.01-devel",
"2019.10-RC1",
"2019.10-devel",
"2019.07-RC1",
"2019.07-devel",
"2019.04-RC1",
"2019.04-devel",
"2019.01-RC1",
"2018.10-devel",
"2018.07-RC1",
"2019.01-devel",
"2018.10-RC1",
"2018.07-devel",
"2018.04-RC1",
"2018.04-devel",
"2018.01-RC1",
"2018.01-devel",
"2017.10-RC1",
"2017.10-devel",
"2017.07-RC1",
"2017.07-devel",
"2017.04-RC1",
"2017.04-devel",
"2017.01-RC1",
"2017.01-devel",
"2016.10-RC1",
"2016.10-devel",
"2016.07-RC2",
"2016.07-RC1",
"2016.04-RC1",
"2016.07-devel",
"2016.03-devel",
"2015.12-RC1",
"2015.12-devel",
"2015.09-RC1",
"2014.12",
"2014.05",
"2014.01",
"2013.08"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52802.json"
}
}
],
"modified": "2026-10-28T02:30:29.357576005Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52802.json",
"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-xgv3-pcq6-qmrg",
"https://nvd.nist.gov/vuln/detail/CVE-2024-52802"
],
"provider_metadata": {
"cwe_ids": [
"CWE-125",
"CWE-20"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52802.json"
}
},
"related_cves": [
{
"value": "CVE-2024-52802",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496136,
"published_at": "2024-11-22T15:41:29.609+00:00"
}