Security mailing lists by PureSourceCode

CVE-2021-40828

HIGH 8.8CVSS 3.1

Improper certificate management in AWS IoT Device SDK v2

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.

Published
23 Nov 2021
Last modified
17 Jun 2026
Assigned by
cve-notifications-us@f-secure.com
NVD status
Modified
Weakness
CWE-295
Also known as
GHSA-94jq-q5v2-76wjPYSEC-2021-861
Sources
NVDJSONOSV GHSA-94jq-q5v2-76wjJSONOSV PYSEC-2021-861JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD cve-notifications-us@f-secure.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:A/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD amazon amazon_web_services_aws-c-io
cpe:2.3:a:amazon:amazon_web_services_aws-c-io:*:*:*:*:*:*:*:*
< 0.9.13 0.9.13
NVD amazon amazon_web_services_internet_of_things_device_software_development_kit_v2
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:java:*:*
< 1.3.3 1.3.3
NVD amazon amazon_web_services_internet_of_things_device_software_development_kit_v2
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:node.js:*:*
< 1.5.1 1.5.1
NVD amazon amazon_web_services_internet_of_things_device_software_development_kit_v2
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:python:*:*
< 1.5.18 1.5.18
NVD amazon amazon_web_services_internet_of_things_device_software_development_kit_v2
cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:c\+\+:*:*
< 1.12.7 1.12.7
OSV Maven software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk < 1.3.3 1.3.3
OSV npm aws-iot-device-sdk-v2 < 1.5.1 1.5.1
OSV PyPI awsiotsdk < 1.5.18 1.5.18

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 23 Nov 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Nov 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 24 Nov 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.