{"id":"CVE-2023-33973","summary":"RIOT-OS vulnerable to NULL pointer dereference during NHC encoding","details":"RIOT-OS, an operating system for Internet of Things (IoT) devices, contains a network stack with the ability to process 6LoWPAN frames. In versions 2023.01 and prior, an attacker can send a crafted frame which is forwarded by the device. During encoding of the packet a NULL pointer dereference occurs. This crashes the device leading to denial of service. A patch is available at pull request 19678. There are no known workarounds.","aliases":["GHSA-r2pv-3jqc-vh7w"],"modified":"2026-10-28T10:38:51.872815896Z","published":"2023-05-30T16:18:04.163Z","database_specific":{"cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33973.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/RIOT-OS/RIOT/blob/f41b4b67b6affca0a8b32edced7f51088696869a/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c#L1067"},{"type":"WEB","url":"https://github.com/RIOT-OS/RIOT/blob/f41b4b67b6affca0a8b32edced7f51088696869a/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c#L1495"},{"type":"WEB","url":"https://github.com/RIOT-OS/RIOT/blob/f41b4b67b6affca0a8b32edced7f51088696869a/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c#L1511"},{"type":"WEB","url":"https://github.com/RIOT-OS/RIOT/blob/f41b4b67b6affca0a8b32edced7f51088696869a/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c#L1644"},{"type":"WEB","url":"https://github.com/RIOT-OS/RIOT/blob/f41b4b67b6affca0a8b32edced7f51088696869a/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c#L1655"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33973.json"},{"type":"ADVISORY","url":"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-r2pv-3jqc-vh7w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-33973"},{"type":"FIX","url":"https://github.com/RIOT-OS/RIOT/commit/c9d7863e5664a169035038628029bb07e090c5ff"},{"type":"FIX","url":"https://github.com/RIOT-OS/RIOT/pull/19678"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/riot-os/riot","events":[{"introduced":"0"},{"fixed":"c9d7863e5664a169035038628029bb07e090c5ff"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"last_affected":"2023.01"}]},{"range":[{"fixed":"c9d7863e5664a169035038628029bb07e090c5ff"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["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-2023-33973.json","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/riot-os/riot/commit/c9d7863e5664a169035038628029bb07e090c5ff","target":{"file":"sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["15511015679730275782084887946349670983","137074587478592179758227792523415616908","159200569700353764915249669267967017271","233349505992850358261843652405185245083","239687662317509458558782335704080341155","82878930555874161075798680435708445780","12507088757074230847155002167894185717","99574867448869882545896416577691854191","83683617847010807235747212640741734487","276511425066122149398233076228546028293","47746851116798360058574666647663553920"]},"id":"CVE-2023-33973-007aff06"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/riot-os/riot/commit/c9d7863e5664a169035038628029bb07e090c5ff","target":{"file":"sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c","function":"gnrc_sixlowpan_iphc_send"},"deprecated":false,"digest":{"length":658,"function_hash":"235260897555298100511055151256378913919"},"id":"CVE-2023-33973-2397d304"},{"digest":{"function_hash":"218019968832957012604830540329861782821","length":6367},"id":"CVE-2023-33973-ead95a8c","signature_type":"Function","signature_version":"v1","source":"https://github.com/riot-os/riot/commit/c9d7863e5664a169035038628029bb07e090c5ff","target":{"function":"_iphc_ipv6_encode","file":"sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c"},"deprecated":false}],"vanir_signatures_modified":"2026-10-28T10:38:51Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}