8.8
HIGH
CVE-2021-40828
AWS IoT Device SDK Certificate Hostname Verification Weakness
Description

Connections initialized by the AWS IoT Device SDK v2 for Java (versions prior to 1.3.3), Python (versions prior to 1.5.18), C++ (versions prior to 1.12.7) and Node.js (versions prior to 1.5.1) did 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 versions 0.9.13 onward. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.3.3 on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.5.18 on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.12.7 on Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.5.3 on Microsoft Windows.

INFO

Published Date :

Nov. 23, 2021, 12:15 a.m.

Last Modified :

Dec. 2, 2021, 2:32 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-40828 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Amazon amazon_web_services_aws-c-io
2 Amazon amazon_web_services_internet_of_things_device_software_development_kit_v2
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-40828.

URL Resource
https://github.com/aws/aws-iot-device-sdk-cpp-v2 Product
https://github.com/aws/aws-iot-device-sdk-java-v2 Product
https://github.com/aws/aws-iot-device-sdk-js-v2 Product
https://github.com/aws/aws-iot-device-sdk-python-v2 Product
https://github.com/awslabs/aws-c-io/ Product

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-40828 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-40828 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 02, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:A/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/aws/aws-iot-device-sdk-cpp-v2 No Types Assigned https://github.com/aws/aws-iot-device-sdk-cpp-v2 Product
    Changed Reference Type https://github.com/aws/aws-iot-device-sdk-java-v2 No Types Assigned https://github.com/aws/aws-iot-device-sdk-java-v2 Product
    Changed Reference Type https://github.com/aws/aws-iot-device-sdk-js-v2 No Types Assigned https://github.com/aws/aws-iot-device-sdk-js-v2 Product
    Changed Reference Type https://github.com/aws/aws-iot-device-sdk-python-v2 No Types Assigned https://github.com/aws/aws-iot-device-sdk-python-v2 Product
    Changed Reference Type https://github.com/awslabs/aws-c-io/ No Types Assigned https://github.com/awslabs/aws-c-io/ Product
    Added CWE NIST CWE-295
    Added CPE Configuration AND OR *cpe:2.3:a:amazon:amazon_web_services_aws-c-io:*:*:*:*:*:*:*:* versions up to (excluding) 0.9.13 *cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:java:*:* versions up to (excluding) 1.3.3 *cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.5.1 *cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:python:*:* versions up to (excluding) 1.5.18 *cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:c\+\+:*:* versions up to (excluding) 1.12.7 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-40828 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-40828 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.11 }} 0.01%

score

0.44401

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability