Read the docs
TI-2021-17753 Aliases CVE-2021-40828GHSA-94jq-q5v2-76wj

TLS hostname validation issues within AWS IoT Device SDKs on Windows

Priority LOW 38CWE-295Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Spoofing
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-295.

Summary

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.

Why it matters now

EPSS 0.00411 35th percentileScored 2026-11-07
Fix Fixed AWS IoT Device SDK v2 for Java (Amazon Web Services): 1.3.3AWS IoT Device SDK v2 for Python (Amazon Web Services): 1.5.18+5 more products

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
AWSAWS IoT Device SDK v2 for Javabefore 1.3.31.3.3Patch availableCNA
AWSAWS IoT Device SDK v2 for Pythonbefore 1.5.181.5.18Patch availableCNA
AWSAWS IoT Device SDK v2 for C++before 1.12.71.12.7Patch availableCNA
AWSAWS IoT Device SDK v2 for Node.jsbefore 1.5.31.5.3Patch availableCNA
AWSAWS-C-IO0.9.12—No fix listedCNA
—software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (Maven)before 1.3.31.3.3Patch availableGHSA-94jq-q5v2-76wj
—aws-iot-device-sdk-v2 (npm)before 1.5.11.5.1Patch availableGHSA-94jq-q5v2-76wj
—awsiotsdk (PyPI)before 1.5.181.5.18Patch availableGHSA-94jq-q5v2-76wj
  • AWS IoT Device SDK v2 for Java VendorAWS Affected before 1.3.3 Fixed in 1.3.3 Patch available CNA
  • AWS IoT Device SDK v2 for Python VendorAWS Affected before 1.5.18 Fixed in 1.5.18 Patch available CNA
  • AWS IoT Device SDK v2 for C++ VendorAWS Affected before 1.12.7 Fixed in 1.12.7 Patch available CNA
  • AWS IoT Device SDK v2 for Node.js VendorAWS Affected before 1.5.3 Fixed in 1.5.3 Patch available CNA
  • AWS-C-IO VendorAWS Affected 0.9.12 Fixed in — No fix listed CNA
  • software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (Maven) Vendor— Affected before 1.3.3 Fixed in 1.3.3 Patch available GHSA-94jq-q5v2-76wj
  • aws-iot-device-sdk-v2 (npm) Vendor— Affected before 1.5.1 Fixed in 1.5.1 Patch available GHSA-94jq-q5v2-76wj
  • awsiotsdk (PyPI) Vendor— Affected before 1.5.18 Fixed in 1.5.18 Patch available GHSA-94jq-q5v2-76wj

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:amazon:amazon_web_services_aws-c-io:*:*:*:*:*:*:*:*before 0.9.13VulnerableAWS
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:java:*:*before 1.3.3VulnerableAWS
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:node.js:*:*before 1.5.1VulnerableAWS
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:python:*:*before 1.5.18VulnerableAWS
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:c\+\+:*:*before 1.12.7VulnerableAWS
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*not specified by NVDRunning onMicrosoft
  • cpe:2.3:a:amazon:amazon_web_services_aws-c-io:*:*:*:*:*:*:*:* Versions before 0.9.13 Vulnerable ·AWS
  • cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:java:*:* Versions before 1.3.3 Vulnerable ·AWS
  • cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:node.js:*:* Versions before 1.5.1 Vulnerable ·AWS
  • cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:python:*:* Versions before 1.5.18 Vulnerable ·AWS
  • cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:c\+\+:*:* Versions before 1.12.7 Vulnerable ·AWS
  • cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Microsoft

Remediation

  • Fix · CNA AWS IoT Device SDK v2 for Java (Amazon Web Services) Fixed in 1.3.3
  • Fix · CNA AWS IoT Device SDK v2 for Python (Amazon Web Services) Fixed in 1.5.18
  • Fix · CNA AWS IoT Device SDK v2 for C++ (Amazon Web Services) Fixed in 1.12.7
  • Fix · CNA AWS IoT Device SDK v2 for Node.js (Amazon Web Services) Fixed in 1.5.3
  • Fix · GHSA-94jq-q5v2-76wj software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (Maven) Fixed in 1.3.3 Advisory →
  • Fix · GHSA-94jq-q5v2-76wj aws-iot-device-sdk-v2 (npm) Fixed in 1.5.1 Advisory →
  • Fix · GHSA-94jq-q5v2-76wj awsiotsdk (PyPI) Fixed in 1.5.18 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Amazon Web Services AWS IoT Device SDK v2 for C++, AWS IoT Device SDK v2 for Node.js 1.12.7, 1.5.3

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2021-17755 Inconsistent CA override function behavior within AWS IoT Device SDKs on Unix systemsPriority LOW 38
    • TI-2021-17754 TLS hostname validation issues within AWS IoT Device SDKs on macOSPriority LOW 38

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-40828
  2. 2026-10-03 Alias added: GHSA-94jq-q5v2-76wj

References

  • TI-2021-17755 Inconsistent CA override function behavior within AWS IoT Device SDKs on Unix systems CVSS 3.1HIGH 8.8
  • TI-2021-17756 Missing SNI validation and inconsistent CA override function behavior within AWS IoT Device SDKs on Apple devices CVSS 3.1HIGH 7.2

Sources