Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven📦 npm🐍 PyPI
Not in CISA KEV
MEDIUM severity

GHSA-94jq-q5v2-76wj

MEDIUMFix: aws/aws-iot-device-sdk-java-v2@67950ad

GHSA-94jq-q5v2-76wj is a medium-severity (CVSS 6.3) CWE-295 vulnerability in software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk. O3 Security confirms whether GHSA-94jq-q5v2-76wj is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Improper certificate management in AWS IoT Device SDK v2

Also known asCVE-2021-40828PYSEC-2021-861
Published
Nov 24, 2021
Updated
Sep 12, 2024
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Sep 12, 2024 · OSV.dev, NVD, FIRST.org (EPSS)

Real-World Exposure

3 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, a proxy for how much of the ecosystem is exposed.

aws-iot-device-sdk-v2npm
110Kdownloads / week

Description

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.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
Mavensoftware.amazon.awssdk.iotdevicesdk:aws-iot-device-sdkall versions1.3.3
📦npmaws-iot-device-sdk-v2all versions1.5.1
🐍PyPIawsiotsdkall versions1.5.18

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk to 1.3.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-94jq-q5v2-76wj is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-94jq-q5v2-76wj is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-94jq-q5v2-76wj. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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
O3 Security · Impact-Aware SCA

Is GHSA-94jq-q5v2-76wj in your dependencies?

O3 detects GHSA-94jq-q5v2-76wj across Maven, npm, PyPI dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.

GHSA-94jq-q5v2-76wj: Improper certificate… | O3 Security