CVE-2021-40829

published 22 Nov 2021 · updated 4 Aug 2024

TLS hostname validation issues within AWS IoT Device SDKs on macOS

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in AWS IoT Device SDK v2 for C++ 1.12.7, AWS IoT Device SDK v2 for Java 1.4.2, AWS IoT Device SDK v2 for Node.js 1.5.3 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Amazon Web ServicesAWS IoT Device SDK v2 for C++<1.12.71.12.7
Amazon Web ServicesAWS IoT Device SDK v2 for Java<1.4.21.4.2
Amazon Web ServicesAWS IoT Device SDK v2 for Node.js<1.5.31.5.3
Amazon Web ServicesAWS IoT Device SDK v2 for Python<1.6.11.6.1
Amazon Web ServicesAWS-C-IO<0.10.40.10.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Amazon Web Services, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-40829 severity on Zeptric[![CVE-2021-40829](https://zeptric.io/badge/cve/CVE-2021-40829.svg)](https://zeptric.io/cve/CVE-2021-40829)