CVE-2024-29195: Azure C SDK Integer Wraparound Vulnerability
Vulnerability summary
CVE-2024-29195 is a high (CVSS 8.1) Classic Buffer Overflow vulnerability in azure azure-c-shared-utility. EPSS estimates a 5.01% chance of exploitation in the next 30 days, higher than 92.2% of scored vulnerabilities.
Timeline
- 26-03-2024PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA6.0MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
5.01%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 4.97% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Azure1 product
- azure-c-shared-utility< 2024-02-08
Debian1 product
- azure-uamqp-pythonAll versions (No fix recorded) | < 1.6.9-2
Microsoft1 product
- azure_c_shared_utility≤ 2023-12-01
Ubuntu1 product
- azure-uamqp-pythonAll versions (No fix recorded)
4 vendors · 4 products
References
6 links- github.com/Azure/azure-c-shared-utility/security/advisories/GHSA-m8wp-hc7w-x4xgX Refsource CONFIRMREPORTPatchVendor Advisory
- github.com/Azure/azure-c-shared-utility/commit/1129147c38ac02ad974c4c701a1e01b2141b9fe2X Refsource MISCREPORTPatch