6.3medium
TLS hostname validation issues within AWS IoT Device SDKs on Windows
- Severity
- 6.3medium CVSS:3.1 by F-SecureUS
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- F-SecureUS
- Also known as
- GHSA-94jq-q5v2-76wjPYSEC-2021-861
Description
Connections initialized by the AWS IoT Device SDK v2 for Java (versions prior to 1.3.3), Python (versions prior to 1.5.18), C++ (versions prior to 1.12.7) and Node.js (versions prior to 1.5.1) did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on Windows. This issue has been addressed in aws-c-io submodule versions 0.9.13 onward. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.3.3 on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.5.18 on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.12.7 on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.5.3 on Microsoft Windows.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Amazon Web Services AWS IoT Device SDK v2 for Java | from unspecified before 1.3.3 | CVE List |
| Amazon Web Services AWS IoT Device SDK v2 for Python | from unspecified before 1.5.18 | 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 | 0.9.12 | CVE List |
| software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (Maven) | before 1.3.3 | GitHub Advisory Database |
| aws-iot-device-sdk-v2 (npm) | before 1.5.1 | GitHub Advisory Database |
| awsiotsdk (PyPI) | before 1.5.18 | GitHub Advisory Database, PyPA Advisory Database |
| amazon amazon_web_services_aws-c-io | before 0.9.13 | NVD |
| amazon amazon_web_services_internet_of_things_device_software_development_kit_v2 | before 1.3.3, before 1.5.1, before 1.5.18, 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.3medium CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:A/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.3.3), Python (versions prior to 1.5.18), C++ (versions prior to 1.12.7) and Node.js (versions prior to 1.5.1) did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on Windows. This issue has been addressed in aws-c-io submodule versions 0.9.13 onward. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.3.3 on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.5.18 on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.12.7 on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.5.3 on Microsoft Windows.
NVD (es)
Las conexiones inicializadas por AWS IoT Device SDK v2 para Java (versiones anteriores a 1.3.3), Python (versiones anteriores a 1.5.18), C++ (versiones anteriores a 1.12.7) y Node.js (versiones anteriores a 1.5.1) 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 Windows. Este problema se ha abordado en las versiones 0.9.13 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.3.3 en Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 para versiones de Python anteriores a 1.5.18 en Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 para versiones de C++ anteriores a 1.12.7 en Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 para versiones de Node.js anteriores a 1.5.3 en Microsoft Windows
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-40828 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-94jq-q5v2-76wj changed 2024-09-12 | CC-BY-4.0 |
| NVD | CVE-2021-40828 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-861 changed 2023-11-08 | CC-BY-4.0 |