GitHub Advisoryadvisory · Maven, npm, PyPI

GHSA-743r-5g92-5vgf Improper certificate management in AWS IoT Device SDK v2

HIGH Published 2021-11-24 Modified 2024-11-18 Official page ↗
Aliases
CVE-2021-40829
Ecosystem
Maven, npm, PyPI
Packages
software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk, aws-iot-device-sdk-v2, awsiotsdk
Severity
High
CVSS vector
CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-295
Reviewed
2021-11-24

Affected packages

• Maven software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk: < 1.4.2 → fixed in 1.4.2 • npm aws-iot-device-sdk-v2: < 1.5.3 → fixed in 1.5.3 • PyPI awsiotsdk: < 1.6.1 → fixed in 1.6.1

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.

Related

Alias · CVE (1)

  • CVE-2021-40829 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… vulnerability

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References