{ "id": "CVE-2020-15350", "sourceIdentifier": "cve@mitre.org", "published": "2020-07-07T17:15:10.530", "lastModified": "2024-11-21T05:05:23.487", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": "RIOT versi\u00f3n 2020.04, presenta un desbordamiento del b\u00fafer en el decodificador base64. La funci\u00f3n de decodificaci\u00f3n base64_decode() usa una funci\u00f3n de estimaci\u00f3n del b\u00fafer de salida para calcular la capacidad de b\u00fafer requerida y comprobarla con el tama\u00f1o del b\u00fafer proporcionado. La funci\u00f3n base64_estimate_decode_size() calcula el tama\u00f1o descodificado esperado con un error de redondeo aritm\u00e9tico y no toma en cuenta los posibles bytes de relleno. Debido a esta subestimaci\u00f3n, puede ser posible crear una entrada base64 que cause un desbordamiento del b\u00fafer" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "baseScore": 7.5, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL" }, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-119" }, { "lang": "en", "value": "CWE-131" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:riot-os:riot:2020.04:*:*:*:*:*:*:*", "matchCriteriaId": "C1CD36D1-6BE1-4262-9EC7-EFA988AE95E0" } ] } ] } ], "references": [ { "url": "https://drive.google.com/file/d/1jMCAi8uawV1-an5uCghIxT2TEdxCE1Lk/view?usp=sharing", "source": "cve@mitre.org", "tags": [ "Mailing List", "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/RIOT-OS/RIOT/pull/14400", "source": "cve@mitre.org", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://drive.google.com/file/d/1jMCAi8uawV1-an5uCghIxT2TEdxCE1Lk/view?usp=sharing", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Mailing List", "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/RIOT-OS/RIOT/pull/14400", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch", "Third Party Advisory" ] } ] }