ubuntu-cve-2024-29195
Vulnerability from osv_ubuntu
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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-uamqp",
"binary_version": "1.2.6-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "azure-uamqp-python",
"purl": "pkg:deb/ubuntu/azure-uamqp-python@1.2.6-4?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.6-1",
"1.2.6-2",
"1.2.6-4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-uamqp",
"binary_version": "1.5.1-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "azure-uamqp-python",
"purl": "pkg:deb/ubuntu/azure-uamqp-python@1.5.1-1build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.13-1",
"1.4.3-1",
"1.4.3-1ubuntu1",
"1.5.0-1",
"1.5.1-1",
"1.5.1-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-uamqp",
"binary_version": "1.6.8-2build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "azure-uamqp-python",
"purl": "pkg:deb/ubuntu/azure-uamqp-python@1.6.8-2build1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6.5-1",
"1.6.5-1build1",
"1.6.5-2",
"1.6.8-1",
"1.6.8-2",
"1.6.8-2build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-uamqp",
"binary_version": "1.6.11-1build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "azure-uamqp-python",
"purl": "pkg:deb/ubuntu/azure-uamqp-python@1.6.11-1build2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6.11-1build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-uamqp",
"binary_version": "1.6.11-2build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "azure-uamqp-python",
"purl": "pkg:deb/ubuntu/azure-uamqp-python@1.6.11-2build1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6.11-1build2",
"1.6.11-2",
"1.6.11-2build1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2024-29195",
"modified": "2026-05-20T15:09:00Z",
"published": "2024-03-26T03:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-29195"
},
{
"type": "REPORT",
"url": "https://github.com/Azure/azure-c-shared-utility/security/advisories/GHSA-m8wp-hc7w-x4xg"
},
{
"type": "REPORT",
"url": "https://github.com/Azure/azure-c-shared-utility/commit/1129147c38ac02ad974c4c701a1e01b2141b9fe2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-29195"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-29195"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.