8.8

CVE-2021-40828: TLS hostname validation issues within AWS IoT Device SDKs on Windows

Modified
AliasesGHSA-94jq-q5v2-76wjPYSEC-2021-861
Published 22-11-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-40828 is a high (CVSS 8.8) Improper Certificate Validation vulnerability in amazon web services aws iot device sdk v2 for c++. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 37.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.3, adjacent network); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.41%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 22-11-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 5 sources · 3 versions

EPSS trend

Probability

0.41%

Chance of exploitation in the next 30 days

Percentile

37%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.41% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: adjacent network, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.

Amazon web services5 products
Amazon2 products
Npm1 product
  • aws-iot-device-sdk-v2< 1.5.1
PyPI1 product
  • awsiotsdk< 1.5.18
Software.amazon.awssdk.iotdevicesdk1 product
  • aws-iot-device-sdk< 1.3.3

5 vendors · 10 products

References

12 links
Show all 12 references