Skip to content

Improper certificate management in AWS IoT Device SDK v2

Moderate severity GitHub Reviewed Published Nov 24, 2021 to the GitHub Advisory Database • Updated Sep 12, 2024

Package

npm aws-iot-device-sdk-v2 (npm)

Affected versions

< 1.5.3

Patched versions

1.5.3
pip awsiotsdk (pip)
< 1.6.1
1.6.1
maven software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk (Maven)
< 1.4.2
1.4.2

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.

References

Published by the National Vulnerability Database Nov 23, 2021
Reviewed Nov 24, 2021
Published to the GitHub Advisory Database Nov 24, 2021
Last updated Sep 12, 2024

Severity

Moderate

EPSS score

0.109%
(45th percentile)

Weaknesses

CVE ID

CVE-2021-40829

GHSA ID

GHSA-743r-5g92-5vgf

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.