Out-of-Bounds 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.09% (41st 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-6137920
  • published22 Dec 2023
  • disclosed11 Jun 2023
  • creditUnknown

Introduced: 11 Jun 2023

CVE-2023-34100  (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. When reading the TCP MSS option value from an incoming packet, the Contiki-NG OS does not verify that certain buffer indices to read from are within the bounds of the IPv6 packet buffer, uip_buf. In particular, there is a 2-byte buffer read in the module os/net/ipv6/uip6.c. The buffer is indexed using 'UIP_IPTCPH_LEN + 2 + c' and 'UIP_IPTCPH_LEN + 3 + c', but the uip_buf buffer may not have enough data, resulting in a 2-byte read out of bounds.

CVSS Scores

version 3.1