CVE-2021-40829
published medium CVSS 3.1 · 6.3TLS hostname validation issues within AWS IoT Device SDKs on macOS
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.4.2 · Platforms: macOS | Affected | Not stated | F-SecureUS |
| Amazon Web Services | — | AWS IoT Device SDK v2 for Pythonunspecified to < 1.6.1 · Platforms: macOS | Affected | Not stated | F-SecureUS |
| Amazon Web Services | — | AWS IoT Device SDK v2 for C++unspecified to < 1.12.7 · Platforms: macOS | Affected | Not stated | F-SecureUS |
| Amazon Web Services | — | AWS IoT Device SDK v2 for Node.jsunspecified to < 1.5.3 · Platforms: macOS | Affected | Not stated | F-SecureUS |
| Amazon Web Services | — | AWS-C-IOunspecified to < 0.10.4 · Platforms: macOS | Affected | Not stated | F-SecureUS |
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.
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.4.2 (affected · custom) | F-SecureUS · cna |
| Amazon Web Services | AWS IoT Device SDK v2 for Python | unspecified to < 1.6.1 (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 | unspecified to < 0.10.4 (affected · custom) | 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 macOS
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 82128136ac906d88455f56b76280c91cccc763f4d04bc3834b08847a96787a5d
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record