CVE-2021-40831: The AWS IoT Device SDK v2 for Java, Python, C++ and Node.js appends a user supplied Certificate Authority (CA)
40
This month
MEDIUM 6.3WATCHLISTDOWNGRADEUPGRADEUPGRADE
CVE-2021-40831 is a medium-severity flaw (CVSS 6.3) affecting amazon web services aws-c-io, amazon web services internet of things device software development kit v2, amazon web services internet of things device software development kit v2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The AWS IoT Device SDK v2 for Java, Python, C++ and Node.js appends a user supplied Certificate Authority (CA) to the root CAs instead of overriding it on macOS systems. Additionally, SNI validation is also not enabled when the CA has been “overridden”. TLS handshakes will thus succeed if the peer can be verified either from the user-supplied CA or the system’s default trust-store. Attackers with access to a host’s trust stores or are able to com
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-40831?
amazon web services aws-c-io: downgrade or apply the listed mitigation; amazon web services internet of things device software development kit v2: upgrade to 1.5.0; amazon web services internet of things device software development kit v2: upgrade to 1.6.0. Exact commands for each OS are on this page.
Is CVE-2021-40831 being exploited?
CVE-2021-40831 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-40831 affect?
CVE-2021-40831 affects amazon web services aws-c-io, amazon web services internet of things device software development kit v2, amazon web services internet of things device software development kit v2. Severity is medium (CVSS 6.3). The AWS IoT Device SDK v2 for Java, Python, C++ and Node.js appends a user supplied Certificate Authority (CA) to the root CAs instead of overriding it on macOS systems. Additionally, SNI validation is also not enabled when the CA has been
CVE-2021-40830MEDIUM 6.3DOWNGRADEUPGRADE The AWS IoT Device SDK v2 for Java, Python, C++ and Node.js appends a user supplied Certificate Authority (CA)
CVE-2021-40828MEDIUM 6.3UPGRADEUPGRADE Connections initialized by the AWS IoT Device SDK v2 for Java (versions prior to 1.3.3), Python (versions prio