Skip to main content
← All vulnerabilities
CVE-2021-40829GHSA-743R-5G92-5VGFPYSEC-2021-862

TLS hostname validation issues within AWS IoT Device SDKs on macOS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.2, 1.6.1, 1.12.7, 1.5.3, 0.10.4
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Amazon Web Services AWS IoT Device SDK v2 for Java

    fixed in 1.4.2

  • Amazon Web Services AWS IoT Device SDK v2 for Python

    fixed in 1.6.1

  • Amazon Web Services AWS IoT Device SDK v2 for C++

    fixed in 1.12.7

  • Amazon Web Services AWS IoT Device SDK v2 for Node.js

    fixed in 1.5.3

  • Amazon Web Services AWS-C-IO

    fixed in 0.10.4

  • software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdkMaven

    fixed in 1.4.2

  • aws-iot-device-sdk-v2npm

    fixed in 1.5.3

  • awsiotsdkPyPI

    fixed in 1.6.1

References 5

GitHub · awslabs/aws-c-io

GitHub · aws/aws-iot-device-sdk-cpp-v2

GitHub · aws/aws-iot-device-sdk-python-v2

GitHub · aws/aws-iot-device-sdk-java-v2

GitHub · aws/aws-iot-device-sdk-js-v2