// For flags

CVE-2021-40828

TLS hostname validation issues within AWS IoT Device SDKs on Windows

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Las conexiones inicializadas por AWS IoT Device SDK v2 para Java (versiones anteriores a 1.3.3), Python (versiones anteriores a 1.5.18), C++ (versiones anteriores a 1.12.7) y Node.js (versiones anteriores a 1.5.1) no verificaban el nombre de host del certificado del servidor durante el handshake TLS cuando anulaban las autoridades de certificación (CA) en sus almacenes confiable en Windows. Este problema se ha abordado en las versiones 0.9.13 y posteriores del submódulo aws-c-io. Este problema afecta a: Amazon Web Services AWS IoT Device SDK v2 para versiones de Java anteriores a 1.3.3 en Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 para versiones de Python anteriores a 1.5.18 en Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 para versiones de C++ anteriores a 1.12.7 en Microsoft Windows. Amazon Web Services AWS IoT Device SDK v2 para versiones de Node.js anteriores a 1.5.3 en Microsoft Windows

*Credits: F-Secure
CVSS Scores
Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Adjacent
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-09-09 CVE Reserved
  • 2021-11-22 CVE Published
  • 2024-08-04 CVE Updated
  • 2024-08-07 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-295: Improper Certificate Validation
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Amazon
Search vendor "Amazon"
Amazon Web Services Aws-c-io
Search vendor "Amazon" for product "Amazon Web Services Aws-c-io"
< 0.9.13
Search vendor "Amazon" for product "Amazon Web Services Aws-c-io" and version " < 0.9.13"
-
Affected
in Microsoft
Search vendor "Microsoft"
Windows
Search vendor "Microsoft" for product "Windows"
--
Safe
Amazon
Search vendor "Amazon"
Amazon Web Services Internet Of Things Device Software Development Kit V2
Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2"
< 1.3.3
Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" and version " < 1.3.3"
java
Affected
in Microsoft
Search vendor "Microsoft"
Windows
Search vendor "Microsoft" for product "Windows"
--
Safe
Amazon
Search vendor "Amazon"
Amazon Web Services Internet Of Things Device Software Development Kit V2
Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2"
< 1.5.1
Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" and version " < 1.5.1"
node.js
Affected
in Microsoft
Search vendor "Microsoft"
Windows
Search vendor "Microsoft" for product "Windows"
--
Safe
Amazon
Search vendor "Amazon"
Amazon Web Services Internet Of Things Device Software Development Kit V2
Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2"
< 1.5.18
Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" and version " < 1.5.18"
python
Affected
in Microsoft
Search vendor "Microsoft"
Windows
Search vendor "Microsoft" for product "Windows"
--
Safe
Amazon
Search vendor "Amazon"
Amazon Web Services Internet Of Things Device Software Development Kit V2
Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2"
< 1.12.7
Search vendor "Amazon" for product "Amazon Web Services Internet Of Things Device Software Development Kit V2" and version " < 1.12.7"
c\+\+
Affected
in Microsoft
Search vendor "Microsoft"
Windows
Search vendor "Microsoft" for product "Windows"
--
Safe