Description
The azure-c-shared-utility is a C library for AMQP/MQTT communication to Azure Cloud Services. This library may be used by the Azure IoT C SDK for communication between IoT Hub and IoT Hub devices. An attacker can cause an integer wraparound or under-allocation or heap buffer overflow due to vulnerabilities in parameter checking mechanism, by exploiting the buffer length parameter in Azure C SDK, which may lead to remote code execution. Requirements for RCE are 1. Compromised Azure account allowing malformed payloads to be sent to the device via IoT Hub service, 2. By passing IoT hub service max message payload limit of 128KB, and 3. Ability to overwrite code space with remote code. Fixed in commit https://github.com/Azure/azure-c-shared-utility/commit/1129147c38ac02ad974c4c701a1e01b2141b9fe2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Azure | azure-c-shared-utility | < 2024-02-08 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | azure-uamqp-python | 1.6.9-2 | — |
| Debian 13 | azure-uamqp-python | 1.6.9-2 | — |
| Debian 12 | azure-uamqp-python | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | azure-uamqp-python | No fix yet | — |
| Ubuntu 26.04 LTS | azure-uamqp-python | No fix yet | — |
| Ubuntu 25.10 | azure-uamqp-python | No fix yet | — |
| Ubuntu 24.04 LTS | azure-uamqp-python | No fix yet | — |
| Ubuntu 22.04 LTS | azure-uamqp-python | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | azure-uamqp-python | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | azure-iot-sdk-c | 2024.03.04-1 | — |
| Azure Linux 3 | python-uamqp | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | azure-iot-sdk-c | 2022.01.21-4 | — |
| Azure Linux 2 (CBL-Mariner) | python-uamqp | No fix yet | — |
Advisories 1
- WID-SEC-2024-0710 Microsoft Azure: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Nov 18, 2024