CVE-2021-27217
 
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
Se detectó un problema en la función _send_secure_msg() de Yubico yubihsm-shell versiones hasta de 2.0.3. La función no comprueba correctamente el campo de longitud insertado de un mensaje autenticado recibido del dispositivo. Lecturas fuera de límites llevadas a cabo por la función aes_remove_padding() pueden bloquear el proceso en ejecución, dependiendo del diseño de la memoria. Esto podría ser usado por un atacante para conllevar una denegación de servicio del lado del cliente. El proyecto yubihsm-shell está incluido en el producto YubiHSM 2 SDK
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-02-15 CVE Reserved
- 2021-03-04 CVE Published
- 2024-02-21 EPSS Updated
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-125: Out-of-bounds Read
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/Yubico/yubihsm-shell/releases | Release Notes |
URL | Date | SRC |
---|---|---|
https://blog.inhq.net/posts/yubico-libyubihsm-vuln2 | 2024-08-03 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://www.yubico.com/support/security-advisories/ysa-2021-01 | 2021-03-26 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Yubico Search vendor "Yubico" | Yubihsm-shell Search vendor "Yubico" for product "Yubihsm-shell" | <= 2.0.3 Search vendor "Yubico" for product "Yubihsm-shell" and version " <= 2.0.3" | - |
Affected
|