CVE-2021-27217 Denial of service in n/a

Medium 4.4 Published Updated

An attacker can cause a client-side denial of service in the YubiHSM 2 SDK by triggering an out-of-bounds read via malformed messages.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-27217?

CVE-2021-27217 is a medium-severity denial of service vulnerability in n/a, published on 4 Mar 2021. An attacker needs administrator access to exploit it, with no action from the victim.

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

Weakness: CWE-125

Which versions are affected by CVE-2021-27217?

It affects 1 product.

Products include Yubico Yubihsm-Shell.

How do I fix CVE-2021-27217?

No fix has been published for CVE-2021-27217 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-27217 being exploited?

There is no known exploitation of CVE-2021-27217 in the wild and no public exploit code.

Sources

Also known as GHSA-2xj6-87qq-8g95.

Is CVE-2021-27217 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free