Vulnerability · Published Mar 26, 2024 · Assigned by GitHub_M

CVE-2024-29195Azure C SDK Integer Wraparound Vulnerability

Medium 6.0

In plain English

A medium-severity buffer overflow in azure-c-shared-utility from Azure. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.0% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.0Medium
Exploit odds (30 days)5.0%top 7.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12azure-uamqp-pythonno fix listedDEBIAN-CVE-2024-29195
Debian:13azure-uamqp-python1.6.9-2DEBIAN-CVE-2024-29195
Debian:14azure-uamqp-python1.6.9-2DEBIAN-CVE-2024-29195
Ubuntu:22.04:LTSazure-uamqp-pythonno fix listedUBUNTU-CVE-2024-29195
Ubuntu:24.04:LTSazure-uamqp-pythonno fix listedUBUNTU-CVE-2024-29195
Ubuntu:25.10azure-uamqp-pythonno fix listedUBUNTU-CVE-2024-29195
Ubuntu:26.04:LTSazure-uamqp-pythonno fix listedUBUNTU-CVE-2024-29195
Ubuntu:26.10azure-uamqp-pythonno fix listedUBUNTU-CVE-2024-29195

Affected products (as reported)

VendorProductVersions
Azure azure-c-shared-utility < 2024-02-08

Weakness: CWE-120 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L

References