CVE-2021-40829
TLS hostname validation issues within AWS IoT Device SDKs on macOS
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
Connections initialized by the AWS IoT Device SDK v2 for Java (versions prior to 1.4.2), Python (versions prior to 1.6.1), C++ (versions prior to 1.12.7) and Node.js (versions prior to 1.5.3) did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on MacOS. This issue has been addressed in aws-c-io submodule versions 0.10.5 onward. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.4.2 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.6.1 on macOS. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.12.7 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.5.3 on macOS. Amazon Web Services AWS-C-IO 0.10.4 on macOS.
Las conexiones inicializadas por AWS IoT Device SDK v2 para Java (versiones anteriores a 1.4.2), Python (versiones anteriores a 1.6.1), C++ (versiones anteriores a 1.12.7) y Node.js (versiones anteriores a 1.5.3) no verificaban el nombre de host del certificado del servidor durante el handshake TLS cuando anulaban las Autoridades de Certificación (CA) en sus almacenes confiable en MacOS. Este problema se ha abordado en las versiones 0.10.5 y posteriores del submódulo aws-c-io. Este problema afecta a: Amazon Web Services AWS IoT Device SDK v2 para versiones de Java anteriores a 1.4.2 en macOS. Amazon Web Services AWS IoT Device SDK v2 para versiones de Python anteriores a 1.6.1 en macOS. Amazon Web Services AWS IoT Device SDK v2 para versiones de C++ anteriores a 1.12.7 en macOS. Amazon Web Services AWS IoT Device SDK v2 para versiones de Node.js anteriores a 1.5.3 en macOS. Amazon Web Services AWS-C-IO 0.10.4 en macOS
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-09-09 CVE Reserved
- 2021-11-22 CVE Published
- 2024-08-04 CVE Updated
- 2024-08-07 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-295: Improper Certificate Validation
CAPEC
References (5)
URL | Tag | Source |
---|---|---|
https://github.com/aws/aws-iot-device-sdk-cpp-v2 | Product | |
https://github.com/aws/aws-iot-device-sdk-java-v2 | Product | |
https://github.com/aws/aws-iot-device-sdk-js-v2 | Product | |
https://github.com/aws/aws-iot-device-sdk-python-v2 | Product | |
https://github.com/awslabs/aws-c-io | Product |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Amazon Search vendor "Amazon" | Amazon Web Services Internet Of Things Device Software Development Kit V2 Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" | < 1.4.2 Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" and version " < 1.4.2" | java |
Affected
| in | Apple Search vendor "Apple" | Macos Search vendor "Apple" for product "Macos" | - | - |
Safe
|
Amazon Search vendor "Amazon" | Amazon Web Services Internet Of Things Device Software Development Kit V2 Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" | < 1.5.3 Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" and version " < 1.5.3" | node.js |
Affected
| in | Apple Search vendor "Apple" | Macos Search vendor "Apple" for product "Macos" | - | - |
Safe
|
Amazon Search vendor "Amazon" | Amazon Web Services Internet Of Things Device Software Development Kit V2 Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" | < 1.6.1 Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" and version " < 1.6.1" | python |
Affected
| in | Apple Search vendor "Apple" | Macos Search vendor "Apple" for product "Macos" | - | - |
Safe
|
Amazon Search vendor "Amazon" | Amazon Web Services Internet Of Things Device Software Development Kit V2 Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" | < 1.12.7 Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" and version " < 1.12.7" | c\+\+ |
Affected
| in | Apple Search vendor "Apple" | Macos Search vendor "Apple" for product "Macos" | - | - |
Safe
|