CVE-2021-27217

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. Out-of-bounds reads performed by aes_remove_padding() can crash the running process, depending on the memory layout. This could be used by an attacker to cause a client-side denial of service. The yubihsm-shell project is included in the YubiHSM 2 SDK product.
Overview
  • CVE ID
  • CVE-2021-27217
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-03-04T18:15:14
  • Last Modified Date
  • 2021-03-26T20:07:43
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://www.yubico.com/support/security-advisories/ysa-2021-01/ Vendor Advisory
https://github.com/Yubico/yubihsm-shell/releases Release Notes Third Party Advisory
https://blog.inhq.net/posts/yubico-libyubihsm-vuln2 Exploit Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 07:18:29 Added to TrackCVE
2022-12-05 23:07:18 2021-03-04T18:15Z 2021-03-04T18:15:14 CVE Published Date updated
2022-12-05 23:07:18 2021-03-26T20:07:43 CVE Modified Date updated
2022-12-05 23:07:18 Analyzed Vulnerability Status updated