{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-32489","id":"CVE-2021-32489","title":"the _send_secure_msg() function of Yubico yubihsm-shell through 2.0.3: CRYPTO_cbc128_decrypt","description":"An issue was discovered in the _send_secure_msg() function of Yubico yubihsm-shell through 2.0.3. The function does not correctly validate the embedded length field of an authenticated message received from the device because response_msg.st.len=8 can be accepted but triggers an integer overflow, which causes CRYPTO_cbc128_decrypt (in OpenSSL) to encounter an undersized buffer and experience a seg","descriptionLong":"An issue was discovered in the _send_secure_msg() function of Yubico yubihsm-shell through 2.0.3. The function does not correctly validate the embedded length field of an authenticated message received from the device because response_msg.st.len=8 can be accepted but triggers an integer overflow, which causes CRYPTO_cbc128_decrypt (in OpenSSL) to encounter an undersized buffer and experience a segmentation fault. The yubihsm-shell project is included in the YubiHSM 2 SDK product.","published":"2021-05-10T21:20:49.000Z","updated":"2026-10-24T10:30:52.440195120Z","reserved":"2021-05-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AC:H/AV:N/A:H/C:N/I:N/PR:H/S:U/UI:N","rating":"medium","source":"mitre"},"metrics":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AC:H/AV:N/A:H/C:N/I:N/PR:H/S:U/UI:N","rating":"medium","source":"mitre"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"mitre.org"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:N/A:P","rating":"low","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[],"cwes":["CWE-190"],"aliases":[],"references":[{"url":"https://blog.inhq.net/posts/yubico-libyubihsm-vuln2/#second-attack-variant-cve-pending","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00922,"epssPercentile":0.61061,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-32489","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32489","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-32489","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32489","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}