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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2020-07-07T16:37:39
Updated: 2024-08-04T13:15:20.192Z
Reserved: 2020-06-26T00:00:00
Link: CVE-2020-15350
Vulnrichment
No data.
NVD
Status : Modified
Published: 2020-07-07T17:15:10.530
Modified: 2024-11-21T05:05:23.487
Link: CVE-2020-15350
Redhat
No data.