CVE-2020-14936

Buffer overflows were discovered in Contiki-NG 4.4 through 4.5, in the SNMP agent. Functions parsing the OIDs in SNMP requests lack sufficient allocated target-buffer capacity verification when writing parsed OID values. The function snmp_oid_decode_oid() may overwrite memory areas beyond the provided target buffer, when called from snmp_message_decode() upon an SNMP request reception. Because the content of the write operations is externally provided in the SNMP requests, it enables a remote overwrite of an IoT device's memory regions beyond the allocated buffer. This overflow may allow remote overwrite of stack and statically allocated variables memory regions by sending a crafted SNMP request.
Configurations

Configuration 1 (hide)

cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:04

Type Values Removed Values Added
References () https://drive.google.com/file/d/1FypWH_g475jSL0mDFzquaATCeRIHQ2kj/view?usp=sharing - Third Party Advisory () https://drive.google.com/file/d/1FypWH_g475jSL0mDFzquaATCeRIHQ2kj/view?usp=sharing - Third Party Advisory
References () https://github.com/contiki-ng/contiki-ng/issues/1351 - Third Party Advisory () https://github.com/contiki-ng/contiki-ng/issues/1351 - Third Party Advisory

Information

Published : 2020-08-18 17:15

Updated : 2024-11-21 05:04


NVD link : CVE-2020-14936

Mitre link : CVE-2020-14936

CVE.ORG link : CVE-2020-14936


JSON object : View

Products Affected

contiki-ng

  • contiki-ng
CWE
CWE-787

Out-of-bounds Write