CWE
125
Advisory Published
Updated

CVE-2021-27217

First published: Thu Mar 04 2021(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Yubico YubiHSM Shell<=2.0.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • What is the severity of CVE-2021-27217?

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

  • 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.

  • How can CVE-2021-27217 be fixed?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203