CVE-2021-22547
published medium CVSS 3.1 · 6.3Buffer overrun in Google Cloud IoT Device SDK for Embedded C
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Google LLC | — | Google Cloud IoT Device SDK for Embedded Cunspecified through 1.0.2 | Affected | Not stated |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- Google · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Google LLC | Google Cloud IoT Device SDK for Embedded C | unspecified through 1.0.2 (affected · custom) | Google · cna |
Weaknesses
1- CWE-120 CWE-120 Buffer Overflow
References
2Provider assertions
2Google · cna
Buffer overrun in Google Cloud IoT Device SDK for Embedded C
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 207a00d3e70b0d3b2271621731fbcbc95534636c4efc5cd3a4e1fa45e4f154d6
- Ingested
- 23 Sep 2026, 07:52:45 UTC
- Source record
- Official CVE record