{"api_version":"1","generated_at":"2026-05-13T08:50:17+00:00","cve":"CVE-2023-31129","urls":{"html":"https://cve.report/CVE-2023-31129","api":"https://cve.report/api/cve/CVE-2023-31129.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-31129","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-31129"},"summary":{"title":"CVE-2023-31129","description":"The Contiki-NG operating system versions 4.8 and prior can be triggered to dereference a NULL pointer in the message handling code for IPv6 router solicitiations. Contiki-NG contains an implementation of IPv6 Neighbor Discovery (ND) in the module `os/net/ipv6/uip-nd6.c`. The ND protocol includes a message type called Router Solicitation (RS), which is used to locate routers and update their address information via the SLLAO (Source Link-Layer Address Option). If the indicated source address changes, a given neighbor entry is set to the STALE state.\n\nThe message handler does not check for RS messages with an SLLAO that indicates a link-layer address change that a neighbor entry can actually be created for the indicated address. The resulting pointer is used without a check, leading to the dereference of a NULL pointer of type `uip_ds6_nbr_t`.\n\nThe problem has been patched in the `develop` branch of Contiki-NG, and will be included in the upcoming 4.9 release. As a workaround, users can apply Contiki-NG pull request #2271 to patch the problem directly.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-05-08 21:15:00","updated_at":"2023-05-15 18:05:00"},"problem_types":["CWE-476"],"metrics":[],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-x29r-5qjg-75mq","name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-x29r-5qjg-75mq","refsource":"MISC","tags":[],"title":"Missing NULL pointer check in IPv6 neighbor discovery · Advisory · contiki-ng/contiki-ng · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/contiki-ng/contiki-ng/pull/2271","name":"https://github.com/contiki-ng/contiki-ng/pull/2271","refsource":"MISC","tags":[],"title":"fix rs_input missing NULL pointer check by Scepticz · Pull Request #2271 · contiki-ng/contiki-ng · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-31129","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31129","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"31129","vulnerable":"1","versionEndIncluding":"4.8","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"contiki-ng","cpe5":"contiki-ng","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-31129","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"The Contiki-NG operating system versions 4.8 and prior can be triggered to dereference a NULL pointer in the message handling code for IPv6 router solicitiations. Contiki-NG contains an implementation of IPv6 Neighbor Discovery (ND) in the module `os/net/ipv6/uip-nd6.c`. The ND protocol includes a message type called Router Solicitation (RS), which is used to locate routers and update their address information via the SLLAO (Source Link-Layer Address Option). If the indicated source address changes, a given neighbor entry is set to the STALE state.\n\nThe message handler does not check for RS messages with an SLLAO that indicates a link-layer address change that a neighbor entry can actually be created for the indicated address. The resulting pointer is used without a check, leading to the dereference of a NULL pointer of type `uip_ds6_nbr_t`.\n\nThe problem has been patched in the `develop` branch of Contiki-NG, and will be included in the upcoming 4.9 release. As a workaround, users can apply Contiki-NG pull request #2271 to patch the problem directly."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-476: NULL Pointer Dereference","cweId":"CWE-476"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"contiki-ng","product":{"product_data":[{"product_name":"contiki-ng","version":{"version_data":[{"version_affected":"=","version_value":"<= 4.8"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-x29r-5qjg-75mq","refsource":"MISC","name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-x29r-5qjg-75mq"},{"url":"https://github.com/contiki-ng/contiki-ng/pull/2271","refsource":"MISC","name":"https://github.com/contiki-ng/contiki-ng/pull/2271"}]},"source":{"advisory":"GHSA-x29r-5qjg-75mq","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-05-08 21:15:00","lastModifiedDate":"2023-05-15 18:05:00","problem_types":["CWE-476"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*","versionEndIncluding":"4.8","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}