CVE-2020-15350
Summary
| CVE | CVE-2020-15350 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-07-07 17:15:00 UTC |
| Updated | 2021-07-21 11:39:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-119 | CWE-131
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| base64_decoder.md - Google Drive | MISC | drive.google.com | Mailing List, Patch, Third Party Advisory |
| sys/base64: Fix, unit test cleanup, and benchmark by maribu · Pull Request #14400 · RIOT-OS/RIOT · GitHub | MISC | github.com | Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.