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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.015 (72.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 72.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
- Riot-Os Riot — versions 2020.04
Weakness classification (CWE)
References
- drive.google.com/file/d/1jMCAi8uawV1-an5uCghIxT2TEdxCE1Lk/view (Patch, Mailing List, Third Party Advisory)
- github.com/RIOT-OS/RIOT/pull/14400 (Patch, Third Party Advisory)
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.