{"api_version":"1","generated_at":"2026-07-23T22:02:25+00:00","cve":"CVE-2021-40828","urls":{"html":"https://cve.report/CVE-2021-40828","api":"https://cve.report/api/cve/CVE-2021-40828.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-40828","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-40828"},"summary":{"title":"CVE-2021-40828","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.","state":"PUBLIC","assigner":"cve-notifications-us@f-secure.com","published_at":"2021-11-23 00:15:00","updated_at":"2021-12-02 14:32: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-40828","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40828","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":"40828","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"amazon","cpe5":"amazon_web_services_aws-c-io","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40828","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":"40828","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":"40828","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":"40828","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":"40828","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"microsoft","cpe5":"windows","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-40828","qid":"980013","title":"Python (pip) Security Update for awsiotsdk (GHSA-94jq-q5v2-76wj)"},{"cve":"CVE-2021-40828","qid":"980014","title":"Nodejs (npm) Security Update for aws-iot-device-sdk-v2 (GHSA-94jq-q5v2-76wj)"},{"cve":"CVE-2021-40828","qid":"980015","title":"Java (maven) Security Update for software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (GHSA-94jq-q5v2-76wj)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve-notifications-us@f-secure.com","ID":"CVE-2021-40828","STATE":"PUBLIC","TITLE":"TLS hostname validation issues within AWS IoT Device SDKs on Windows"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"AWS IoT Device SDK v2 for Java ","version":{"version_data":[{"platform":"Microsoft Windows","version_affected":"<","version_value":"1.3.3"}]}},{"product_name":"AWS IoT Device SDK v2 for Python","version":{"version_data":[{"platform":"Microsoft Windows","version_affected":"<","version_value":"1.5.18"}]}},{"product_name":"AWS IoT Device SDK v2 for C++","version":{"version_data":[{"platform":"Microsoft Windows","version_affected":"<","version_value":"1.12.7"}]}},{"product_name":"AWS IoT Device SDK v2 for Node.js","version":{"version_data":[{"platform":"Microsoft Windows","version_affected":"<","version_value":"1.5.3"}]}},{"product_name":"AWS-C-IO","version":{"version_data":[{"platform":"Microsoft Windows","version_value":"0.9.12"}]}}]},"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.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."}]},"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:32: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_aws-c-io:*:*:*:*:*:*:*:*","versionEndExcluding":"0.9.13","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:java:*:*","versionEndExcluding":"1.3.3","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.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:python:*:*","versionEndExcluding":"1.5.18","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:microsoft:windows:-:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"40828","Ordinal":"216586","Title":"CVE-2021-40828","CVE":"CVE-2021-40828","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"40828","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"40828","Ordinal":"2","NoteData":"2021-11-22","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"40828","Ordinal":"3","NoteData":"2021-11-22","Type":"Other","Title":"Modified"}]}}}