Advisory

GHSA-94jq-q5v2-76wj

Also known as: CVE-2021-40828, PYSEC-2021-861

Summary

Improper certificate management in AWS IoT Device SDK v2

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-11-24 21:02 UTC
Modified
2024-09-12 21:32 UTC

Affected packages and fixes

aws-iot-device-sdk-v2

npm · All systems

Affected

  • introduced 0, fixed 1.5.1 (semver)

Fixed versions

1.5.1

Fix

awsiotsdk

PyPI · All systems

Affected

  • introduced 0, fixed 1.5.18 (ecosystem)

Fixed versions

1.5.18

Fix

  • Fixed version 1.5.18
    pip install --upgrade awsiotsdk==1.5.18

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences