Wysoka

Improper certificate management in AWS IoT Device SDK v2

  • Ujawniono: 23.11.2021
  • Aktualizacja: 11.10.2026 11:20

The AWS IoT Device SDK v2 for Java, Python, C++ and Node.js appends a user supplied Certificate Authority (CA) to the root CAs instead of overriding it on macOS systems. Additionally, SNI validation is also not enabled when the CA has been "overridden". TLS handshakes will thus succeed if the peer can be verified either from the user-supplied CA or the system’s default trust-store. Attackers with access to a host’s trust stores or are able to compromise a certificate authority already in the host's trust store (note: the attacker must also be able to spoof DNS in this case) may be able to use this issue to bypass CA pinning. An attacker could then spoof the MQTT broker, and either drop traffic and/or respond with the attacker's data, but they would not be able to forward this data on to the MQTT broker because the attacker would still need the user's private keys to authenticate against the MQTT broker. The aws_tls_ctx_options_override_default_trust_store_* function within the aws-c-io submodule has been updated to address this behavior. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.5.0 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.7.0 on macOS. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.14.0 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.6.0 on macOS. Amazon Web Services AWS-C-IO 0.10.7 on macOS.

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Java / Kotlin (Maven) software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk < 1.5.0 1.5.0
Paczka npm aws-iot-device-sdk-v2 < 1.6.0 1.6.0
Python (PyPI) awsiotsdk < 1.7.0 1.7.0

Odnośniki

Ocena CVSS 6.3/10
Wektor CVSS
CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Słabość (CWE)
CWE-295
Platforma
Java / Kotlin (Maven), npm, Python (PyPI)
Paczka
software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk, aws-iot-device-sdk-v2, awsiotsdk
Ujawniono
23.11.2021
Aktualizacja
11.10.2026 11:20

Źródła i licencje

OSV / GitHub Advisory Database - PYSEC-2021-864 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-j3f7-7rmc-6wqj - CC BY 4.0

Historia podatności: awsiotsdk

Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkich wpisów
4
Pierwsza → ostatnia
11.2021 11.2021
Bez poprawki
0
Wykorzystywana w atakach
0

Rozkład istotności

  • Wysoka 3
  • Średnia 1

Ujawnienia w latach

  1. 2021: 4
  2. 2022: 0
  3. 2023: 0
  4. 2024: 0
  5. 2025: 0
  6. 2026: 0
  1. Wysoka · 6.3 CVE-2021-40830 < 1.6.1 1.6.1
  2. Wysoka · 6.3 CVE-2021-40829 < 1.6.1 1.6.1
  3. Improper certificate management in AWS IoT Device SDK v2 ten wpis
    Wysoka · 6.3 CVE-2021-40831 < 1.7.0 1.7.0
  4. Średnia · 6.3 CVE-2021-40828 < 1.5.18 1.5.18

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.