TROYANOSYVIRUS
Back to CVEs

CVE-2020-15350

CRITICAL
9.8

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.

CVE Details

CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published7/7/2020
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

riot-os:riot

Weaknesses (CWE)

CWE-119CWE-131

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.