Improper Input Validation Affecting adamdunkels/uip package, versions [0,]


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.11% (46th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ADAMDUNKELSUIP-2367440
  • published26 Jan 2022
  • disclosed11 Dec 2020
  • creditUnknown

Introduced: 11 Dec 2020

CVE-2020-17440  (opens in a new tab)
CWE-20  (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 Improper Input Validation. An issue was discovered in uIP 1.0, as used in Contiki 3.0 and other products. The code that parses incoming DNS packets does not validate that domain names present in the DNS responses have '\0' termination. This results in errors when calculating the offset of the pointer that jumps over domain name bytes in DNS response packets when a name lacks this termination, and eventually leads to dereferencing the pointer at an invalid/arbitrary address, within newdata() and parse_name() in resolv.c.

CVSS Base Scores

version 3.1