Out-of-bounds Write Affecting adamdunkels/uip package, versions [0,]


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.46% (76th 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-ADAMDUNKELSUIP-2367439
  • published26 Jan 2022
  • disclosed11 Dec 2020
  • creditUnknown

Introduced: 11 Dec 2020

CVE-2020-17438  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

There is no fixed version for adamdunkels/uip.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. An issue was discovered in uIP 1.0, as used in Contiki 3.0 and other products. The code that reassembles fragmented packets fails to properly validate the total length of an incoming packet specified in its IP header, as well as the fragmentation offset value specified in the IP header. By crafting a packet with specific values of the IP header length and the fragmentation offset, attackers can write into the .bss section of the program (past the statically allocated buffer that is used for storing the fragmented data) and cause a denial of service in uip_reass() in uip.c, or possibly execute arbitrary code on some target architectures.

CVSS Base Scores

version 3.1