Vulnerability Details : CVE-2021-27217
Potential exploit
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.
Vulnerability category: Denial of service
Products affected by CVE-2021-27217
- cpe:2.3:a:yubico:yubihsm-shell:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-27217
0.62%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 67 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-27217
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.5
|
LOW | AV:N/AC:M/Au:S/C:N/I:N/A:P |
6.8
|
2.9
|
NIST | |
4.4
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H |
0.7
|
3.6
|
NIST |
CWE ids for CVE-2021-27217
-
The product reads data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-27217
-
https://blog.inhq.net/posts/yubico-libyubihsm-vuln2
Yubico libyubihsm Vulnerabilities | invd blogExploit;Third Party Advisory
-
https://www.yubico.com/support/security-advisories/ysa-2021-01/
Security Advisory YSA-2021-01 - YubicoVendor Advisory
-
https://github.com/Yubico/yubihsm-shell/releases
Releases · Yubico/yubihsm-shell · GitHubRelease Notes;Third Party Advisory
Jump to