Out-of-bounds Read Affecting contiki-ng/contiki-ng package, versions [,4.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-CONTIKINGCONTIKING-6137921
  • published22 Dec 2023
  • disclosed16 Jun 2023
  • creditUnknown

Introduced: 16 Jun 2023

CVE-2023-34101  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade contiki-ng/contiki-ng to version 4.9 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read when processing ICMP DAO packets in the dao_input_storing function, the Contiki-NG OS does not verify that the packet buffer is big enough to contain the bytes it needs before accessing them. Up to 16 bytes can be read out of bounds in the dao_input_storing function. An attacker can truncate an ICMP packet to contain insufficient data, leading to an out-of-bounds read on these lines.

CVSS Scores

version 3.1