CVE-2021-40828

published 22 Nov 2021 · updated 4 Aug 2024

TLS hostname validation issues within AWS IoT Device SDKs on Windows

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.3.3, AWS IoT Device SDK v2 for Node.js 1.5.3 and 1 more.

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.

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.3.31.3.3
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.5.181.5.18
Amazon Web ServicesAWS-C-IO=0.9.12

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-40828 severity on Zeptric[![CVE-2021-40828](https://zeptric.io/badge/cve/CVE-2021-40828.svg)](https://zeptric.io/cve/CVE-2021-40828)