Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.amazonaws/aws-iot-device-sdk-java
  4. ›
  5. CVE-2021-40828

CVE-2021-40828: Improper Certificate Validation

November 23, 2021 (updated December 2, 2021)

Connections initialized by the AWS IoT Device SDK v2 for Java, Python , C++ and Node.js does 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 onward. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for Python on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for C++ on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for Node.js on Microsoft Windows.

References

  • github.com/aws/aws-iot-device-sdk-cpp-v2
  • github.com/aws/aws-iot-device-sdk-java-v2
  • github.com/aws/aws-iot-device-sdk-js-v2
  • github.com/aws/aws-iot-device-sdk-python-v2
  • github.com/awslabs/aws-c-io/
  • nvd.nist.gov/vuln/detail/CVE-2021-40828

Code Behaviors & Features

Detect and mitigate CVE-2021-40828 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.3

Fixed versions

  • 1.3.3

Solution

Upgrade to version 1.3.3 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

maven/com.amazonaws/aws-iot-device-sdk-java/CVE-2021-40828.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:57 +0000.