Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-40828: Connections initialized by the AWS IoT Device SDK v2 for Java (versions prior to 1.3.3), Python (versions prio

36
Routine
MEDIUM 6.3WATCHLISTUPGRADEUPGRADEUPGRADE

CVE-2021-40828 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.

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 Service

Why this priority

  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score6.3 (Medium)
Attack vectorAdjacent network
Attack complexityHigh
Privileges neededHigh
User interactionRequired
EPSS exploit chance0.4% (top 65%)
CISA exploited listNo
WeaknessCWE-295
Published2021-11-23
Last modified2026-06-17
Publisher (CNA): F-Secure · Vendor: amazon

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

amazon amazon web services aws-c-io UPGRADE
Affected: < 0.9.13
Fixed in: 0.9.13
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy amazon-web-services-aws-c-io || rpm -q amazon-web-services-aws-c-io || amazon-web-services-aws-c-io --version
2. UPGRADE to 0.9.13 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade amazon-web-services-aws-c-io
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade amazon-web-services-aws-c-io
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
amazon amazon web services internet of things device software development kit v2 UPGRADE
Affected: < 1.3.3
Fixed in: 1.3.3
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy amazon-web-services-internet-of-things-device-software-development-kit-v2 || rpm -q amazon-web-services-internet-of-things-device-software-development-kit-v2 || amazon-web-services-internet-of-things-device-software-development-kit-v2 --version
2. UPGRADE to 1.3.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade amazon-web-services-internet-of-things-device-software-development-kit-v2
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade amazon-web-services-internet-of-things-device-software-development-kit-v2
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
amazon amazon web services internet of things device software development kit v2 UPGRADE
Affected: < 1.5.1
Fixed in: 1.5.1
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls amazon-web-services-internet-of-things-device-software-development-kit-v2
2. UPGRADE to 1.5.1
npm install amazon-web-services-internet-of-things-device-software-development-kit-v2@">=1.5.1"
amazon amazon web services internet of things device software development kit v2 UPGRADE
Affected: < 1.5.18
Fixed in: 1.5.18
Safe to downgrade to: no unaffected older release
1. Check installed version
pip show amazon-web-services-internet-of-things-device-software-development-kit-v2
2. UPGRADE to 1.5.18
pip install --upgrade "amazon-web-services-internet-of-things-device-software-development-kit-v2>=1.5.18"
amazon amazon web services internet of things device software development kit v2 UPGRADE
Affected: < 1.12.7
Fixed in: 1.12.7
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy amazon-web-services-internet-of-things-device-software-development-kit-v2 || rpm -q amazon-web-services-internet-of-things-device-software-development-kit-v2 || amazon-web-services-internet-of-things-device-software-development-kit-v2 --version
2. UPGRADE to 1.12.7 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade amazon-web-services-internet-of-things-device-software-development-kit-v2
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade amazon-web-services-internet-of-things-device-software-development-kit-v2
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · 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-40828?

amazon web services aws-c-io: upgrade to 0.9.13; amazon web services internet of things device software development kit v2: upgrade to 1.3.3; amazon web services internet of things device software development kit v2: upgrade to 1.5.1. Exact commands for each OS are on this page.

Is CVE-2021-40828 being exploited?

CVE-2021-40828 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-40828 affect?

CVE-2021-40828 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). 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 duri

How urgent is CVE-2021-40828?

Priority 36/100. On your watchlist

Software pages

Node.js vulnerabilities · Python vulnerabilities · Java vulnerabilities · Windows vulnerabilities · AWS vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.