CVE-2021-27217: Medium severity yubico yubihsm shell vulnerability

Published Mar 4, 2021
·
Updated

An issue was discovered in the sendsecuremsg() 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 aesremovepadding() 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.

Affected Software

1 affected component
Yubico yubihsm-shell<=2.0.3

Event History

Mar 4, 2021
CVE Published
via MITRE·05:45 PM
Data Sourced
via MITRE·05:45 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-27217?

CVE-2021-27217 is a vulnerability in the _send_secure_msg() function of Yubico yubihsm-shell through version 2.0.3. It allows for out-of-bounds reads that can crash the running process.

2

What is the severity of CVE-2021-27217?

The severity of CVE-2021-27217 is medium with a CVSS score of 4.4.

3

How does CVE-2021-27217 impact Yubico yubihsm-shell?

CVE-2021-27217 impacts Yubico yubihsm-shell by allowing for out-of-bounds reads that can crash the running process.

4

How can CVE-2021-27217 be fixed?

To fix CVE-2021-27217, update Yubico yubihsm-shell to version 2.0.4 or later.

5

Are there any references for CVE-2021-27217?

Yes, here are some references for CVE-2021-27217: [1] [2] [3]

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203