SEVERITY AND EXPLOITATION CONTEXT

CVE-2021-40828: TLS hostname validation issues within AWS IoT Device SDKs on Windows

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

TLS hostname validation issues within AWS IoT Device SDKs on Windows

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.

Published CVE snapshot: 2026-10-22. Record last updated: 2024-08-04T02:51:06.830Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

F-SecureUS · CVSS 3.1: 6.3 Medium

Calculated from the published vector. Base score: 6.3. Provider-reported Base score: 6.3.

Vector and metric explanationsCVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
MetricValueMeaning
Attack vector (AV)AThe attacker must share a restricted network context, such as a local segment or an adjacent protocol network.
Attack complexity (AC)HSuccessful exploitation depends on conditions beyond the attacker’s control, requiring additional preparation or execution effort.
Privileges required (PR)HThe attacker needs substantial control, typically administrative capabilities, before exploitation.
User interaction (UI)RA user other than the attacker must take an action for exploitation to succeed.
Scope (S)UConsequences stay within resources managed by the same security authority.
Confidentiality (C)HAll information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence.
Integrity (I)HIntegrity is completely lost, or modification has a direct, serious consequence.
Availability (A)HAvailability is completely lost, or the disruption has a direct, serious consequence.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • Amazon Web Services · AWS IoT Device SDK v2 for Java
  • Amazon Web Services · AWS IoT Device SDK v2 for Python
  • Amazon Web Services · AWS IoT Device SDK v2 for C++
  • Amazon Web Services · AWS IoT Device SDK v2 for Node.js
  • Amazon Web Services · AWS-C-IO

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (5)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2021 · All published CVEs · Calculation methodology