CRITICAL🇵🇱 Wersja polska

CVE-2020-14935

CVSS 9.8v3.1pub. 2020-08-18upd. 2024-11-21

Buffer overflows were discovered in Contiki-NG 4.4 through 4.5, in the SNMP bulk get request response encoding function. 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. When a bulk get request response is assembled, a stack buffer dedicated for OIDs (with a limited capacity) is allocated in snmp_engine_get_bulk(). When snmp_engine_get_bulk() is populating the stack buffer, an overflow condition may occur due to lack of input length validation. This makes it possible to overwrite stack regions beyond the allocated buffer, including the return address from the function. As a result, the code execution path may be redirected to an address provided in the SNMP bulk get payload. If the target architecture uses common addressing space for program and data memory, it may also be possible to supply code in the SNMP request payload, and redirect the execution path to the remotely injected code, by modifying the function's return address.

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Contiki Ng

    OS
    Contiki-Ng
    4.0 – 4.5
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCEMemory
CWE
References

Related vulnerabilities

CVE-2020-27634CRITICAL9.1ten sam produkt

In Contiki 4.5, TCP ISNs are improperly random.

CVE-2023-30546CRITICAL9.8ten sam produkt

Contiki-NG is an operating system for Internet of Things devices. An off-by-one error can be triggered in the ...

CVE-2020-12141CRITICAL9.1ten sam produkt

An out-of-bounds read in the SNMP stack in Contiki-NG 4.4 and earlier allows an attacker to cause a denial of ...

CVE-2020-24336CRITICAL9.8ten sam produkt

An issue was discovered in Contiki through 3.0 and Contiki-NG through 4.5. The code for parsing Type A domain ...

CVE-2020-14937CRITICAL9.1ten sam produkt

Memory access out of buffer boundaries issues was discovered in Contiki-NG 4.4 through 4.5, in the SNMP BER en...