CVE Vulnerabilities

CVE-2021-40829

Improper Certificate Validation

Published: Nov 23, 2021 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
5.8 MEDIUM
AV:A/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

Name Vendor Start Version End Version
Amazon_web_services_internet_of_things_device_software_development_kit_v2 Amazon * 1.4.2 (excluding)
Amazon_web_services_internet_of_things_device_software_development_kit_v2 Amazon * 1.5.3 (excluding)
Amazon_web_services_internet_of_things_device_software_development_kit_v2 Amazon * 1.6.1 (excluding)
Amazon_web_services_internet_of_things_device_software_development_kit_v2 Amazon * 1.12.7 (excluding)
Aws-c-io Ubuntu trusty *
Aws-c-io Ubuntu upstream *
Aws-c-io Ubuntu xenial *

Potential Mitigations

References