{"id":"CVE-2020-12886","sourceIdentifier":"cve@mitre.org","published":"2020-06-18T19:15:11.567","lastModified":"2026-06-17T02:52:29.297","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"A buffer over-read was discovered in the CoAP library in Arm Mbed OS 5.15.3. The CoAP parser is responsible for parsing received CoAP packets. The function sn_coap_parser_options_parse() parses the CoAP packet header starting from the message token. The length of the token in the received message is provided in the first byte parsed by the sn_coap_parser_options_parse() function. The length encoded in the message is not validated against the actual input buffer length before accessing the token. As a result, memory access outside of the intended boundary of the buffer may occur."},{"lang":"es","value":"Se detectó una lectura excesiva del búfer en la biblioteca CoAP en Arm Mbed OS versión 5.15.3. El analizador CoAP es responsable de analizar los paquetes CoAP recibidos. La función sn_coap_parser_options_parse() analiza el encabezado del paquete CoAP a partir del token del mensaje. La longitud del token en el mensaje recibido es proporcionado en el primer byte analizado por la función sn_coap_parser_options_parse(). La longitud codificada en el mensaje no es validada contra la longitud real del búfer de entrada antes de acceder al token. Como resultado, un acceso a la memoria fuera del límite previsto del búfer puede producirse"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"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:N/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.2}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:P","baseScore":6.4,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-125"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:arm:mbed_os:5.15.3:*:*:*:*:*:*:*","matchCriteriaId":"B314FCEF-12B7-4510-AC5E-12D3574E3E68"}]}]}],"references":[{"url":"https://github.com/ARMmbed/mbed-coap/pull/116","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/ARMmbed/mbed-os/issues/12948","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/ARMmbed/mbed-coap/pull/116","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://github.com/ARMmbed/mbed-os/issues/12948","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}