{"id":"CVE-2020-24388","sourceIdentifier":"cve@mitre.org","published":"2020-10-19T20:15:12.993","lastModified":"2026-06-17T03:05:28.737","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"An issue was discovered in the _send_secure_msg() function of yubihsm-shell through 2.0.2. The function does not validate the embedded length field of a message received from the device. This could lead to an oversized memcpy() call that will crash the running process. This could be used by an attacker to cause a denial of service."},{"lang":"es","value":"Se detectó un problema en la función _send_secure_msg() de yubihsm-shell versiones hasta 2.0.2.&#xa0;La función no comprueba el campo de longitud insertado en un mensaje recibido del dispositivo.&#xa0;Esto podría conllevar a una llamada a memcpy() de gran tamaño que bloqueará el proceso en ejecución.&#xa0;Esto podría ser usado por un atacante para causar una denegación de servicio"}],"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:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-20"},{"lang":"en","value":"CWE-787"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:yubico:yubihsm-shell:*:*:*:*:*:*:*:*","versionEndIncluding":"2.0.2","matchCriteriaId":"AFBDE39B-F22D-40A2-B73B-C3E5B76F1FB3"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","matchCriteriaId":"E460AA51-FCDA-46B9-AE97-E6676AA5E194"}]}]}],"references":[{"url":"https://blog.inhq.net/posts/yubico-libyubihsm-vuln/","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://developers.yubico.com/yubihsm-shell/","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://github.com/Yubico/yubihsm-shell","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/","source":"cve@mitre.org"},{"url":"https://www.yubico.com/support/security-advisories/ysa-2020-06/","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://blog.inhq.net/posts/yubico-libyubihsm-vuln/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://developers.yubico.com/yubihsm-shell/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"https://github.com/Yubico/yubihsm-shell","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.yubico.com/support/security-advisories/ysa-2020-06/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}