Buffer Overflow Vulnerability in RIOT OS Decoder
CVE-2020-15350
9.8CRITICAL
What is CVE-2020-15350?
The RIOT OS 2020.04 version contains a vulnerability in its base64 decoder, specifically within the base64_decode() function. This function utilizes an output buffer estimation method that inaccurately calculates the buffer size needed for decoded output, primarily due to an arithmetic rounding error. Additionally, it fails to account for potential padding bytes when estimating the expected decoded size. As a result, this vulnerability can be exploited by creating a crafted base64 input, leading to a buffer overflow situation that may compromise the integrity of the system.