6.3medium
TLS hostname validation issues within AWS IoT Device SDKs on macOS
- Severity
- 6.3medium CVSS:3.1 by F-SecureUS
- Exploit likelihood
- 0.39% (higher than 34% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- F-SecureUS
- Also known as
- GHSA-743r-5g92-5vgfPYSEC-2021-862
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Amazon Web Services AWS IoT Device SDK v2 for Java | from unspecified before 1.4.2 | CVE List |
| Amazon Web Services AWS IoT Device SDK v2 for Python | from unspecified before 1.6.1 | CVE List |
| Amazon Web Services AWS IoT Device SDK v2 for C++ | from unspecified before 1.12.7 | CVE List |
| Amazon Web Services AWS IoT Device SDK v2 for Node.js | from unspecified before 1.5.3 | CVE List |
| Amazon Web Services AWS-C-IO | from unspecified before 0.10.4 | CVE List |
| software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (Maven) | before 1.4.2 | GitHub Advisory Database |
| aws-iot-device-sdk-v2 (npm) | before 1.5.3 | GitHub Advisory Database |
| awsiotsdk (PyPI) | before 1.6.1 | GitHub Advisory Database, PyPA Advisory Database |
| amazon amazon_web_services_internet_of_things_device_software_development_kit_v2 | before 1.4.2, before 1.5.3, before 1.6.1, before 1.12.7 | NVD |
All scores
| F-SecureUS | 6.3medium CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 6.3high CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.8medium CVSS:2.0 | AV:A/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
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
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-40829 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-743r-5g92-5vgf changed 2024-11-23 | CC-BY-4.0 |
| NVD | CVE-2021-40829 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-862 changed 2023-11-08 | CC-BY-4.0 |