SecurityContext

CVE-2023-31129: Contiki-NG - Null Pointer Dereference

  • Cve: CVE-2023-31129
  • Name: Contiki-NG - Null Pointer Dereference
  • 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. The 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`. The 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.
  • Impact: Remote denial of service possible by triggering NULL pointer dereference, causing system crash or instability.
  • Remediation: Apply Contiki-NG pull request #2271 or upgrade to version 4.9 when released.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00644
  • Epss percentile: 0.51846
  • Assignee: [email protected]
  • Published at: 2023-05-08T21:15:11Z
  • Age in days: 1296
  • Modified at: 2026-06-17T05:56:19Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-31129
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

References

UrlSourceTags
https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-x29r-5qjg-75mqnvdPatch, Vendor Advisory
https://github.com/contiki-ng/contiki-ng/pull/2271nvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
contiki-ng:contiki-ng<= 4.8nonvd/v1/products/contiki-ng/contiki-ng

Projects

RepositoryLink kindsIndexedUrl
contiki-ng/contiki-ngpull, security_advisoryyes/v1/repositories/contiki-ng/contiki-ng

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts