SecurityContext

CVE-2024-41125: Contiki-NG - Out-of-Bounds Read

  • Cve: CVE-2024-41125
  • Name: Contiki-NG - Out-of-Bounds Read
  • Description: Contiki-NG is an open-source, cross-platform operating system for IoT devices. An out-of-bounds read of 1 byte can be triggered when sending a packet to a device running the Contiki-NG operating system with SNMP enabled. The SNMP module is disabled in the default Contiki-NG configuration. The vulnerability exists in the os/net/app-layer/snmp/snmp-ber.c module, where the function snmp_ber_decode_string_len_buffer decodes the string length from a received SNMP packet. In one place, one byte is read from the buffer, without checking that the buffer has another byte available, leading to a possible out-of-bounds read. The problem has been patched in Contiki-NG pull request #2936. It will be included in the next release of Contiki-NG. Users are advised to apply the patch manually or to wait for the next release. A workaround is to disable the SNMP module in the Contiki-NG build configuration.
  • Impact: Attackers can read memory outside the buffer, potentially leading to information disclosure or system instability.
  • Remediation: Apply the patch from pull request #2936 or wait for the next release; as a workaround, disable the SNMP module in the build configuration.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.6
  • Cvss vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.00294
  • Epss percentile: 0.22351
  • Assignee: [email protected]
  • Published at: 2024-11-27T19:15:32Z
  • Age in days: 727
  • Modified at: 2026-06-17T07:47:19Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-41125
  • Nvd status: analyzed
  • 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-125Out-of-bounds Read

References

UrlSourceTags
https://github.com/contiki-ng/contiki-ng/pull/2936nvdIssue Tracking, Patch
https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-qjj3-gqx7-438wnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
contiki-ng:contiki-ng<= 4.9nonvd/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

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