Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-27217

4.4 · MEDIUM
Published Mar 4, 2021 yubico CWE-125 EPSS 1.59% (74th pctl)

Overview

CVE-2021-27217 is a medium-severity vulnerability affecting yubico yubihsm-shell. It was published on March 4, 2021 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from yubico. Update yubihsm-shell to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
yubico yubihsm-shell 0 Affected

Frequently Asked Questions

What is CVE-2021-27217?

CVE-2021-27217 is a medium-severity vulnerability affecting yubico yubihsm-shell. It was published on March 4, 2021 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

How severe is CVE-2021-27217?

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-27217?

Check the references section for vendor advisories and patches from yubico. Update yubihsm-shell to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-27217?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-27217 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.