9.8

CVE-2020-14935: contiki-ng Out-of-bounds Write

CVSS: 9.8v3.1CriticalModified
Published 18-08-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-14935 is a critical (CVSS 9.8) Out-of-bounds Write vulnerability in contiki-ng. EPSS estimates a 2.50% chance of exploitation in the next 30 days, higher than 84.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
2.50%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 18-08-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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 metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

2.50%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

0.00 pp

From 2.50% on 21-09-2026

21-09-202621-10-2026
EPSS score
2.50%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Contiki Ng

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Contiki-ng1 product

1 vendor · 1 product

References

2 links