Read the docs
TI-2021-17754 Aliases CVE-2021-40829GHSA-743r-5g92-5vgf

TLS hostname validation issues within AWS IoT Device SDKs on macOS

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.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.

Why it matters now

EPSS 0.00387 33rd percentileScored 2026-11-07
Fix Fixed AWS IoT Device SDK v2 for Java (Amazon Web Services): 1.4.2AWS IoT Device SDK v2 for Python (Amazon Web Services): 1.6.1+6 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.4.21.4.2Patch availableCNA
AWSAWS IoT Device SDK v2 for Pythonbefore 1.6.11.6.1Patch 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-IObefore 0.10.40.10.4Patch availableCNA
—software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (Maven)before 1.4.21.4.2Patch availableGHSA-743r-5g92-5vgf
—aws-iot-device-sdk-v2 (npm)before 1.5.31.5.3Patch availableGHSA-743r-5g92-5vgf
—awsiotsdk (PyPI)before 1.6.11.6.1Patch availableGHSA-743r-5g92-5vgf
  • AWS IoT Device SDK v2 for Java VendorAWS Affected before 1.4.2 Fixed in 1.4.2 Patch available CNA
  • AWS IoT Device SDK v2 for Python VendorAWS Affected before 1.6.1 Fixed in 1.6.1 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 before 0.10.4 Fixed in 0.10.4 Patch available CNA
  • software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (Maven) Vendor— Affected before 1.4.2 Fixed in 1.4.2 Patch available GHSA-743r-5g92-5vgf
  • aws-iot-device-sdk-v2 (npm) Vendor— Affected before 1.5.3 Fixed in 1.5.3 Patch available GHSA-743r-5g92-5vgf
  • awsiotsdk (PyPI) Vendor— Affected before 1.6.1 Fixed in 1.6.1 Patch available GHSA-743r-5g92-5vgf

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:java:*:*before 1.4.2VulnerableAWS
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:node.js:*:*before 1.5.3VulnerableAWS
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:python:*:*before 1.6.1VulnerableAWS
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:apple:macos:-:*:*:*:*:*:*:*not specified by NVDRunning onApple
  • cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:java:*:* Versions before 1.4.2 Vulnerable ·AWS
  • cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:node.js:*:* Versions before 1.5.3 Vulnerable ·AWS
  • cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:python:*:* Versions before 1.6.1 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:apple:macos:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Apple

Remediation

  • Fix · CNA AWS IoT Device SDK v2 for Java (Amazon Web Services) Fixed in 1.4.2
  • Fix · CNA AWS IoT Device SDK v2 for Python (Amazon Web Services) Fixed in 1.6.1
  • 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 · CNA AWS-C-IO (Amazon Web Services) Fixed in 0.10.4
  • Fix · GHSA-743r-5g92-5vgf software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (Maven) Fixed in 1.4.2 Advisory →
  • Fix · GHSA-743r-5g92-5vgf aws-iot-device-sdk-v2 (npm) Fixed in 1.5.3 Advisory →
  • Fix · GHSA-743r-5g92-5vgf awsiotsdk (PyPI) Fixed in 1.6.1 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-17753 TLS hostname validation issues within AWS IoT Device SDKs on WindowsPriority LOW 38
  • Release ·

    Amazon Web Services AWS IoT Device SDK v2 for Python 1.6.1

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2021-17755 Inconsistent CA override function behavior within AWS IoT Device SDKs on Unix systemsPriority LOW 38

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-40829
  2. 2026-10-03 Alias added: GHSA-743r-5g92-5vgf

References

  • TI-2021-17755 Inconsistent CA override function behavior within AWS IoT Device SDKs on Unix systems CVSS 3.1HIGH 8.8
  • TI-2021-17753 TLS hostname validation issues within AWS IoT Device SDKs on Windows 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