Skip to content
OpenAdvisories
Medium · 6.0 CVE-2024-29195 EUVD-2024-26216

Azure C SDK Integer Wraparound Vulnerability

Published Mar 26, 2024 · Updated Aug 4, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS azure-uamqp-python No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
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

References