CVE-2021-40828
published medium CVSS 3.1 · 6.3TLS hostname validation issues within AWS IoT Device SDKs on Windows
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Web Services | — | AWS IoT Device SDK v2 for Javaunspecified to < 1.3.3 · Platforms: Microsoft Windows | Affected | Not stated | F-SecureUS |
| Amazon Web Services | — | AWS IoT Device SDK v2 for Pythonunspecified to < 1.5.18 · Platforms: Microsoft Windows | Affected | Not stated | F-SecureUS |
| Amazon Web Services | — | AWS IoT Device SDK v2 for C++unspecified to < 1.12.7 · Platforms: Microsoft Windows | Affected | Not stated | F-SecureUS |
| Amazon Web Services | — | AWS IoT Device SDK v2 for Node.jsunspecified to < 1.5.3 · Platforms: Microsoft Windows | Affected | Not stated | F-SecureUS |
| Amazon Web Services | — | AWS-C-IO0.9.12 · Platforms: Microsoft Windows | Affected | Not stated | F-SecureUS |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- F-SecureUS · cna
- Vector string
- CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Amazon Web Services | AWS IoT Device SDK v2 for Java | unspecified to < 1.3.3 (affected · custom) | F-SecureUS · cna |
| Amazon Web Services | AWS IoT Device SDK v2 for Python | unspecified to < 1.5.18 (affected · custom) | F-SecureUS · cna |
| Amazon Web Services | AWS IoT Device SDK v2 for C++ | unspecified to < 1.12.7 (affected · custom) | F-SecureUS · cna |
| Amazon Web Services | AWS IoT Device SDK v2 for Node.js | unspecified to < 1.5.3 (affected · custom) | F-SecureUS · cna |
| Amazon Web Services | AWS-C-IO | 0.9.12 (affected) | F-SecureUS · cna |
Weaknesses
1- Connections initialized by the AWS IoT Device SDK v2 for Java, Python, C++ and Node.js did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on Windows.
References
5Provider assertions
2F-SecureUS · cna
TLS hostname validation issues within AWS IoT Device SDKs on Windows
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cc6ef173f36790a8848b45a9f82752ea5626c378cdb412bea210055e9b6d8ebf
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record