CVE-2021-40831: Improper certificate management in AWS IoT Device SDK v2
6.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.50855%
CWE
Published
11/24/2021
Updated
11/18/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk | maven | < 1.5.0 | 1.5.0 |
aws-iot-device-sdk-v2 | npm | < 1.6.0 | 1.6.0 |
awsiotsdk | pip | < 1.7.0 | 1.7.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly states the 'aws_tls_ctx_options_override_default_trust_store_*' functions were updated to fix the issue. These functions handle trust store configuration, and their flawed macOS implementation caused improper certificate validation by appending rather than replacing system CAs. The confidence is high because the advisory directly links the vulnerability to these functions, and the commit diffs show updates to underlying dependencies (aws-crt) that would include fixes to these functions.