{"api_version":"1","generated_at":"2026-07-24T01:47:48+00:00","cve":"CVE-2021-40829","urls":{"html":"https://cve.report/CVE-2021-40829","api":"https://cve.report/api/cve/CVE-2021-40829.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-40829","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-40829"},"summary":{"title":"CVE-2021-40829","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.","state":"PUBLIC","assigner":"cve-notifications-us@f-secure.com","published_at":"2021-11-23 00:15:00","updated_at":"2021-12-02 14:49:00"},"problem_types":["CWE-295"],"metrics":[],"references":[{"url":"https://github.com/aws/aws-iot-device-sdk-cpp-v2","name":"https://github.com/aws/aws-iot-device-sdk-cpp-v2","refsource":"MISC","tags":[],"title":"GitHub - aws/aws-iot-device-sdk-cpp-v2: Next generation AWS IoT Client SDK for C++ using the AWS Common Runtime","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/aws/aws-iot-device-sdk-js-v2","name":"https://github.com/aws/aws-iot-device-sdk-js-v2","refsource":"MISC","tags":[],"title":"GitHub - aws/aws-iot-device-sdk-js-v2: Next generation AWS IoT Client SDK for Node.js using the AWS Common Runtime","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/awslabs/aws-c-io/","name":"https://github.com/awslabs/aws-c-io/","refsource":"MISC","tags":[],"title":"GitHub - awslabs/aws-c-io: This is a module for the AWS SDK for C. It handles all IO and TLS work for application protocols.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/aws/aws-iot-device-sdk-java-v2","name":"https://github.com/aws/aws-iot-device-sdk-java-v2","refsource":"MISC","tags":[],"title":"GitHub - aws/aws-iot-device-sdk-java-v2: Next generation AWS IoT Client SDK for Java using the AWS Common Runtime","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/aws/aws-iot-device-sdk-python-v2","name":"https://github.com/aws/aws-iot-device-sdk-python-v2","refsource":"MISC","tags":[],"title":"GitHub - aws/aws-iot-device-sdk-python-v2: Next generation AWS IoT Client SDK for Python using the AWS Common Runtime","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40829","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40829","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"F-Secure","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"40829","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"amazon","cpe5":"amazon_web_services_internet_of_things_device_software_development_kit_v2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"c\\+\\+","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40829","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"amazon","cpe5":"amazon_web_services_internet_of_things_device_software_development_kit_v2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"java","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40829","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"amazon","cpe5":"amazon_web_services_internet_of_things_device_software_development_kit_v2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40829","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"amazon","cpe5":"amazon_web_services_internet_of_things_device_software_development_kit_v2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40829","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"apple","cpe5":"macos","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-40829","qid":"980010","title":"Python (pip) Security Update for awsiotsdk (GHSA-743r-5g92-5vgf)"},{"cve":"CVE-2021-40829","qid":"980011","title":"Nodejs (npm) Security Update for aws-iot-device-sdk-v2 (GHSA-743r-5g92-5vgf)"},{"cve":"CVE-2021-40829","qid":"980012","title":"Java (maven) Security Update for software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (GHSA-743r-5g92-5vgf)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve-notifications-us@f-secure.com","ID":"CVE-2021-40829","STATE":"PUBLIC","TITLE":"TLS hostname validation issues within AWS IoT Device SDKs on macOS"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"AWS IoT Device SDK v2 for Java ","version":{"version_data":[{"platform":"macOS","version_affected":"<","version_value":"1.4.2"}]}},{"product_name":"AWS IoT Device SDK v2 for Python","version":{"version_data":[{"platform":"macOS","version_affected":"<","version_value":"1.6.1"}]}},{"product_name":"AWS IoT Device SDK v2 for C++","version":{"version_data":[{"platform":"macOS","version_affected":"<","version_value":"1.12.7"}]}},{"product_name":"AWS IoT Device SDK v2 for Node.js","version":{"version_data":[{"platform":"macOS","version_affected":"<","version_value":"1.5.3"}]}},{"product_name":"AWS-C-IO","version":{"version_data":[{"platform":"macOS","version_affected":"<","version_value":"0.10.4"}]}}]},"vendor_name":"Amazon Web Services"}]}},"credit":[{"lang":"eng","value":"F-Secure"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"ADJACENT_NETWORK","availabilityImpact":"HIGH","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Connections initialized by the AWS IoT Device SDK v2 for Java, Python, C++ and Node.js did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on Windows. "}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://github.com/awslabs/aws-c-io/","name":"https://github.com/awslabs/aws-c-io/"},{"refsource":"MISC","url":"https://github.com/aws/aws-iot-device-sdk-cpp-v2","name":"https://github.com/aws/aws-iot-device-sdk-cpp-v2"},{"refsource":"MISC","url":"https://github.com/aws/aws-iot-device-sdk-python-v2","name":"https://github.com/aws/aws-iot-device-sdk-python-v2"},{"refsource":"MISC","url":"https://github.com/aws/aws-iot-device-sdk-java-v2","name":"https://github.com/aws/aws-iot-device-sdk-java-v2"},{"refsource":"MISC","url":"https://github.com/aws/aws-iot-device-sdk-js-v2","name":"https://github.com/aws/aws-iot-device-sdk-js-v2"}]},"solution":[{"lang":"eng","value":"Update to the latest versions of the AWS IoT Device SDK."}],"source":{"discovery":"INTERNAL"}},"nvd":{"publishedDate":"2021-11-23 00:15:00","lastModifiedDate":"2021-12-02 14:49:00","problem_types":["CWE-295"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:A/AC:L/Au:N/C:P/I:P/A:P","accessVector":"ADJACENT_NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":5.8},"severity":"MEDIUM","exploitabilityScore":6.5,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:java:*:*","versionEndExcluding":"1.4.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.5.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:python:*:*","versionEndExcluding":"1.6.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:c\\+\\+:*:*","versionEndExcluding":"1.12.7","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"40829","Ordinal":"216587","Title":"CVE-2021-40829","CVE":"CVE-2021-40829","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"40829","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"40829","Ordinal":"2","NoteData":"2021-11-22","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"40829","Ordinal":"3","NoteData":"2021-11-22","Type":"Other","Title":"Modified"}]}}}