Buffer overflow in Riot-Os Riot
CVE-2020-15350
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.
Vulnerability class: Buffer Overflow
EPSS: 0.015 (71.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Riot-os Riot — versions 2020.04
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Patch, Mailing List, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2020-15350?
- CVE-2020-15350 is a critical-severity vulnerability in Riot-Os Riot, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.8/10. Published 2020-07-07.
- How severe is CVE-2020-15350?
- Critical severity. CVSS v3 base score is 9.8 out of 10.