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.
References
Link Resource
https://drive.google.com/file/d/1jMCAi8uawV1-an5uCghIxT2TEdxCE1Lk/view?usp=sharing Mailing List Patch Third Party Advisory
https://github.com/RIOT-OS/RIOT/pull/14400 Patch Third Party Advisory
Advertisement

NeevaHost hosting service

Configurations

Configuration 1 (hide)

cpe:2.3:o:riot-os:riot:2020.04:*:*:*:*:*:*:*

Information

Published : 2020-07-07 10:15

Updated : 2021-07-21 04:39


NVD link : CVE-2020-15350

Mitre link : CVE-2020-15350


JSON object : View

CWE
CWE-131

Incorrect Calculation of Buffer Size

CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer

Advertisement

dedicated server usa

Products Affected

riot-os

  • riot