SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2020-15350

RIOT 2020.04 has a buffer overflow in the base64 decoder.

CRITICAL 9.8EPSS 1.47%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (1.47%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

RIOT 2020.04 has a buffer overflow in the base64 decoder. The decoding function base64_decode() uses an output buffer estimation function to compute the required buffer capacity and validate against the provided buffer size. The base64_estimate_decode_size() function calculates the expected decoded size with an arithmetic round-off error and does not take into account possible padding bytes. Due to this underestimation, it may be possible to craft base64 input that causes a buffer overflow.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.47% probability · 72th percentile
CISA KEV
Not listed
Weakness
CWE-119, CWE-131
Affected
riot-os/riot
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.