{"cve":"CVE-2021-40829","nvd":{"published":"2021-11-23T00:15:07.327","modified":"2026-06-17T04:07:29.697","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-295"],"references":["https://github.com/aws/aws-iot-device-sdk-cpp-v2","https://github.com/aws/aws-iot-device-sdk-java-v2","https://github.com/aws/aws-iot-device-sdk-js-v2","https://github.com/aws/aws-iot-device-sdk-python-v2","https://github.com/awslabs/aws-c-io/"],"products":["amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2"],"source":"nvd","synced_at":"2026-10-19T21:25:41.256909649+00:00"},"epss":{"cve":"CVE-2021-40829","score":0.00387,"percentile":0.32804,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-743r-5g92-5vgf","url":"https://osv.dev/vulnerability/GHSA-743r-5g92-5vgf","summary":"Improper certificate management in AWS IoT Device SDK v2","modified":"2024-11-23T05:26:40.800162Z","packages":[{"ecosystem":"Maven","name":"software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk","purl":"pkg:maven/software.amazon.awssdk.iotdevicesdk/aws-iot-device-sdk","ranges":["<1.4.2"],"fixed":["1.4.2"]},{"ecosystem":"npm","name":"aws-iot-device-sdk-v2","purl":"pkg:npm/aws-iot-device-sdk-v2","ranges":["<1.5.3"],"fixed":["1.5.3"]},{"ecosystem":"PyPI","name":"awsiotsdk","purl":"pkg:pypi/awsiotsdk","ranges":["<1.6.1"],"fixed":["1.6.1"]}]},{"id":"PYSEC-2021-862","url":"https://osv.dev/vulnerability/PYSEC-2021-862","summary":"","modified":"2023-11-08T04:06:49.384944Z","packages":[{"ecosystem":"PyPI","name":"awsiotsdk","purl":"pkg:pypi/awsiotsdk","ranges":["<1.6.1"],"fixed":["1.6.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}