{"id":"CVE-2024-52802","state":"PUBLISHED","title":"RIOT-OS missing dhcpv6_opt_t minimum header length check","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.","publishedAt":"2024-11-22T15:41:29.609Z","updatedAt":"2024-11-25T18:07:14.616Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["RIOT-OS RIOT"],"affected":[{"vendor":"RIOT-OS","product":"RIOT","versions":[{"version":"<= 2024.04","status":"affected"}]}],"references":["https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-xgv3-pcq6-qmrg"],"weaknesses":["CWE-20","CWE-125"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/52xxx/CVE-2024-52802.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-52802","state":"PUBLISHED","datePublished":"2024-11-22T15:41:29.609Z","dateUpdated":"2024-11-25T18:07:14.616Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-11-15T17:11:13.441Z"},"containers":{"cna":{"title":"RIOT-OS missing dhcpv6_opt_t minimum header length check","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"RIOT-OS","product":"RIOT","versions":[{"version":"<= 2024.04","status":"affected"}]}],"references":[{"url":"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-xgv3-pcq6-qmrg","name":"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-xgv3-pcq6-qmrg","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-11-22T15:41:29.609Z"},"source":{"advisory":"GHSA-xgv3-pcq6-qmrg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"riot-os","product":"riot","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2024.04","versionType":"custom"}],"cpes":["cpe:2.3:o:riot-os:riot:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-25T18:06:31.548660Z","id":"CVE-2024-52802","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-25T18:07:14.616Z"}}]}}}