NetSight
high6.3

CVE-2021-40829

Improper certificate management in AWS IoT Device SDK v2

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavensoftware.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk< 1.4.21.4.2
npmaws-iot-device-sdk-v2< 1.5.31.5.3
pipawsiotsdk< 1.6.11.6.1

Affected products

VendorProductAffected versions
AmazonAmazon Web Services Internet Of Things Device Software Development Kit V2
before 1.4.2
before 1.5.3
before 1.6.1
before 1.12.7

Weakness classification

References