CVE-2021-40829: Improper certificate management in AWS IoT Device SDK v2
(updated )
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.
References
- github.com/advisories/GHSA-743r-5g92-5vgf
- github.com/aws/aws-iot-device-sdk-cpp-v2
- github.com/aws/aws-iot-device-sdk-java-v2
- github.com/aws/aws-iot-device-sdk-java-v2/commits/v1.4.2
- github.com/aws/aws-iot-device-sdk-js-v2
- github.com/aws/aws-iot-device-sdk-python-v2
- github.com/awslabs/aws-c-io
- github.com/pypa/advisory-database/tree/main/vulns/awsiotsdk/PYSEC-2021-862.yaml
- nvd.nist.gov/vuln/detail/CVE-2021-40829
Detect and mitigate CVE-2021-40829 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →