CVE-2024-29195Azure C SDK Integer Wraparound Vulnerability
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | azure-uamqp-python | Fix pending | UBUNTU-CVE-2024-29195 | |
| Ubuntu 26.04 | azure-uamqp-python | Under investigation | UBUNTU-CVE-2024-29195 | |
| Ubuntu 25.10 | azure-uamqp-python | Will not fix azure-c-shared-utility in vendored in azure-uamqp-python. | UBUNTU-CVE-2024-29195 | |
| Ubuntu 24.04 | azure-uamqp-python | Under investigation | UBUNTU-CVE-2024-29195 | |
| Ubuntu 22.04 | azure-uamqp-python | Under investigation | UBUNTU-CVE-2024-29195 | |
| Ubuntu 20.04 | azure-uamqp-python | Will not fix azure-c-shared-utility in vendored in azure-uamqp-python. | UBUNTU-CVE-2024-29195 | |
| Debian 14 | azure-uamqp-python | Fixed | 1.6.9-2 | DEBIAN-CVE-2024-29195 |
| Debian 13 | azure-uamqp-python | Fixed | 1.6.9-2 | DEBIAN-CVE-2024-29195 |
| Debian 12 | azure-uamqp-python | Fix pending | DEBIAN-CVE-2024-29195 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- azure-c-shared-utility: affected: < 2024-02-08
References
- https://github.com/Azure/azure-c-shared-utility/security/advisories/GHSA-m8wp-hc7w-x4xg
- https://github.com/Azure/azure-c-shared-utility/commit/1129147c38ac02ad974c4c701a1e01b2141b9fe2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.