8.8

CVE-2021-40829: TLS hostname validation issues within AWS IoT Device SDKs on macOS

Modified
AliasesGHSA-743r-5g92-5vgfPYSEC-2021-862
Published 22-11-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-40829 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.39% chance of exploitation in the next 30 days, higher than 34.9% 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.39%
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.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.

CVSS metrics

9 scores · 5 sources · 3 versions

EPSS trend

Probability

0.39%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.39% 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
Amazon1 product
Npm1 product
  • aws-iot-device-sdk-v2< 1.5.3
PyPI1 product
  • awsiotsdk< 1.6.1
Software.amazon.awssdk.iotdevicesdk1 product
  • aws-iot-device-sdk< 1.4.2

5 vendors · 9 products

References

10 links