Vulnerability · Published Nov 22, 2021 · Assigned by F-SecureUS

CVE-2021-40828TLS hostname validation issues within AWS IoT Device SDKs on Windows

Medium 6.3

In plain English

A medium-severity security flaw in AWS-C-IO from Amazon Web Services. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.4%top 64.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavensoftware.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk1.3.3GHSA-94jq-q5v2-76wj
PyPIawsiotsdk1.5.18GHSA-94jq-q5v2-76wj
PyPIawsiotsdk1.5.18PYSEC-2021-861
npmaws-iot-device-sdk-v21.5.1GHSA-94jq-q5v2-76wj

Affected products (as reported)

VendorProductVersions
Amazon Web Services AWS IoT Device SDK v2 for Java unspecified – before 1.3.3
Amazon Web Services AWS IoT Device SDK v2 for Python unspecified – before 1.5.18
Amazon Web Services AWS IoT Device SDK v2 for C++ unspecified – before 1.12.7
Amazon Web Services AWS IoT Device SDK v2 for Node.js unspecified – before 1.5.3
Amazon Web Services AWS-C-IO 0.9.12

References