CVE-2021-22547Google Cloud Iot Device Sdk For Embedded C
High 7.8
Follow: this CVE · Google · Google Cloud Iot Device Sdk For Embedded C We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 13
- Auth required
- Yes
- Published
- May 4, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-120
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
In IoT Devices SDK, there is an implementation of calloc() that doesn't have a length check. An attacker could pass in memory objects larger than the buffer and wrap around to have a smaller buffer than required, allowing the attacker access to the other parts of the heap. We recommend upgrading the Google Cloud IoT Device SDK for Embedded C used to 1.0.3 or greater.
What to do
- Apply the vendor's security update for Cloud Iot Device Sdk For Embedded C.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cloud_iot_device_sdk_for_embedded_c | < 1.0.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory