CVE-2021-27217

Source
https://cve.org/CVERecord?id=CVE-2021-27217
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-27217.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-27217
Published
2021-03-04T18:15:14.050Z
Modified
2025-11-14T11:33:31.154927Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/yubico/yubihsm-shell

Affected ranges

Type
GIT
Repo
https://github.com/yubico/yubihsm-shell
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

2.*
2.0.0
2.0.1
2.0.2
2.0.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-27217.json"