TLS hostname validation issues within AWS IoT Device SDKs on Windows
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdkMaven | < 1.3.3 | 1.3.3 |
aws-iot-device-sdk-v2npm | < 1.5.1 | 1.5.1 |
awsiotsdkPyPI | < 1.5.18 | 1.5.18 |
Affected products
4- ghsa-coords3 versionspkg:maven/software.amazon.awssdk.iotdevicesdk/aws-iot-device-sdkpkg:npm/aws-iot-device-sdk-v2pkg:pypi/awsiotsdk
< 1.3.3+ 2 more
- (no CPE)range: < 1.3.3
- (no CPE)range: < 1.5.1
- (no CPE)range: < 1.5.18
- Range: unspecified
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-94jq-q5v2-76wjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-40828ghsaADVISORY
- github.com/aws/aws-iot-device-sdk-java-v2/commit/67950ad2a02f2f9355c310b69dc9226b017f32f2ghsaWEB
- github.com/aws/aws-iot-device-sdk-js-v2/commit/4be41394f1aee979e6f4b012fcb01eecabd0c08dghsaWEB
- github.com/aws/aws-iot-device-sdk-python-v2/commit/fd4c0ba04b35eab9e20c635af5548fcc5a92d8beghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/awsiotsdk/PYSEC-2021-861.yamlghsaWEB
News mentions
0No linked articles in our index yet.