CVE-2021-32489

CVSS V2 Low 3.5 CVSS V3 Medium 4.4
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 segmentation fault. The yubihsm-shell project is included in the YubiHSM 2 SDK product.
Overview
  • CVE ID
  • CVE-2021-32489
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-05-10T22:15:06
  • Last Modified Date
  • 2021-05-19T18:44:08
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:yubico:yubihsm-shell:*:*:*:*:*:*:*:* 1 OR 2.0.3
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:S/C:N/I:N/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • SINGLE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • NONE
  • Availability Impact
  • PARTIAL
  • Base Score
  • 3.5
  • Severity
  • LOW
  • Exploitability Score
  • 6.8
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • HIGH
  • Privileges Required
  • HIGH
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • HIGH
  • Base Score
  • 4.4
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 0.7
  • Impact Score
  • 3.6
References
Reference URL Reference Tags
https://blog.inhq.net/posts/yubico-libyubihsm-vuln2/#second-attack-variant-cve-pending Exploit Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 16:15:34 Added to TrackCVE
2022-12-05 01:56:39 2021-05-10T22:15Z 2021-05-10T22:15:06 CVE Published Date updated
2022-12-05 01:56:39 2021-05-19T18:44:08 CVE Modified Date updated
2022-12-05 01:56:39 Analyzed Vulnerability Status updated