Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Azure C Shared Utility | <= 2023-12-01 |
Related Weaknesses (CWE)
References
- https://github.com/Azure/azure-c-shared-utility/commit/1129147c38ac02ad974c4c701Patch
- https://github.com/Azure/azure-c-shared-utility/security/advisories/GHSA-m8wp-hcPatchVendor Advisory
- https://github.com/Azure/azure-c-shared-utility/commit/1129147c38ac02ad974c4c701Patch
- https://github.com/Azure/azure-c-shared-utility/security/advisories/GHSA-m8wp-hcPatchVendor Advisory
FAQ
What is CVE-2024-29195?
CVE-2024-29195 is a vulnerability with a CVSS score of 6.0 (MEDIUM). 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...
How severe is CVE-2024-29195?
CVE-2024-29195 has been rated MEDIUM with a CVSS base score of 6.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-29195?
Check the references section above for vendor advisories and patch information. Affected products include: Microsoft Azure C Shared Utility.