Security mailing lists by PureSourceCode

CVE-2021-40829

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.4.2), Python (versions prior to 1.6.1), C++ (versions prior to 1.12.7) and Node.js (versions prior to 1.5.3) did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on MacOS. This issue has been addressed in aws-c-io submodule versions 0.10.5 onward. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.4.2 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.6.1 on macOS. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.12.7 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.5.3 on macOS. Amazon Web Services AWS-C-IO 0.10.4 on macOS.

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-743r-5g92-5vgfPYSEC-2021-862
Sources
NVDJSONOSV GHSA-743r-5g92-5vgfJSONOSV PYSEC-2021-862JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/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_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.4.2 1.4.2
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.3 1.5.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:*:*:*:*:*:python:*:*
< 1.6.1 1.6.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:*:*:*:*:*:c\+\+:*:*
< 1.12.7 1.12.7
OSV Maven software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk < 1.4.2 1.4.2
OSV npm aws-iot-device-sdk-v2 < 1.5.3 1.5.3
OSV PyPI awsiotsdk < 1.6.1 1.6.1

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.