title: TLS hostname validation issues within AWS IoT Device SDKs on macOS
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.
problem types: 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.
affected:
{
platforms: macOS
product: AWS IoT Device SDK v2 for Java
vendor: Amazon Web Services
versions:
lessThan: 1.4.2, status: affected, version: unspecified, versionType: custom
}
{
platforms: macOS
product: AWS IoT Device SDK v2 for Python
vendor: Amazon Web Services
versions:
lessThan: 1.6.1, status: affected, version: unspecified, versionType: custom
}
{
platforms: macOS
product: AWS IoT Device SDK v2 for C++
vendor: Amazon Web Services
versions:
lessThan: 1.12.7, status: affected, version: unspecified, versionType: custom
}
{
platforms: macOS
product: AWS IoT Device SDK v2 for Node.js
vendor: Amazon Web Services
versions:
lessThan: 1.5.3, status: affected, version: unspecified, versionType: custom
}
{
platforms: macOS
product: AWS-C-IO
vendor: Amazon Web Services
versions:
lessThan: 0.10.4, status: affected, version: unspecified, versionType: custom
}
metrics:
cvssV3_1: [
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
]
solutions: Update to the latest versions of the AWS IoT Device SDK.