Out-of-bounds Write Affecting contiki-ng/contiki-ng package, versions [4.4,4.6)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.47% (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-CONTIKINGCONTIKING-6137940
  • published22 Dec 2023
  • disclosed18 Aug 2020
  • creditUnknown

Introduced: 18 Aug 2020

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

How to fix?

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

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. Buffer overflows were discovered in Contiki-NG 4.4 through 4.5, in the SNMP agent. The function parsing the received SNMP request does not verify the input message's requested variables against the capacity of the internal SNMP engine buffer. If the number of variables in the request exceeds the allocated buffer, a memory write out of the buffer boundaries occurs. This write operation provides a possibility to overwrite other variables allocated in the .bss section by the application. Because the sender of the frame is in control of the content that will be written beyond the buffer limits, and there is no strict process memory separation, this issue may allow overwriting of sensitive memory areas of an IoT device.

CVSS Scores

version 3.1