CVE-2024-29195
Azure C SDK Integer Wraparound Vulnerability
Mitigation
- Upgrade azure-c-shared-utility to 2024-02-08 or later.
Who should check
- Anyone running azure-c-shared-utility < 2024-02-08
Vulnerability facts
- Affected
- azure-c-shared-utility < 2024-02-08
- Fixed in
- azure-c-shared-utility 2024-02-08
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: High
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 3.98% chance of exploitation in 30 days (percentile 91, 2026-11-26)
- CWE
- CWE-120
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| azure-c-shared-utility | < 2024-02-08 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-29195. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-29195.md Affected: azure-c-shared-utility < 2024-02-08 Fixed in: azure-c-shared-utility 2024-02-08 Steps: 1. Search this machine and project for azure-c-shared-utility: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-29195 being exploited?
There is no confirmed exploitation: CVE-2024-29195 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.98% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-29195?
Medium: CVSS 6.0 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-29195?
azure-c-shared-utility < 2024-02-08.
Is there a fix for CVE-2024-29195?
Yes. Fixed in azure-c-shared-utility 2024-02-08. Upgrade azure-c-shared-utility to 2024-02-08 or later.
How do I check if I'm affected by CVE-2024-29195?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.