Vulnerability Description
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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Contiki-Ng | Contiki-Ng | >= 4.0, <= 4.5 |
Related Weaknesses (CWE)
References
- https://drive.google.com/file/d/1qp3ZXaFRiR_imWg0lUbI7-D-hIT268EB/view?usp=shariThird Party Advisory
- https://github.com/contiki-ng/contiki-ng/issues/1353ExploitThird Party Advisory
- https://drive.google.com/file/d/1qp3ZXaFRiR_imWg0lUbI7-D-hIT268EB/view?usp=shariThird Party Advisory
- https://github.com/contiki-ng/contiki-ng/issues/1353ExploitThird Party Advisory
FAQ
What is CVE-2020-14935?
CVE-2020-14935 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 messag...
How severe is CVE-2020-14935?
CVE-2020-14935 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2020-14935?
Check the references section above for vendor advisories and patch information. Affected products include: Contiki-Ng Contiki-Ng.