CVE-2021-22547: Buffer overrun in Google Cloud IoT Device SDK for Embedded C
Vulnerability summary
CVE-2021-22547 is a high (CVSS 7.8) vulnerability in google llc google cloud iot device sdk for embedded c. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.8% of scored vulnerabilities.
Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 04-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA6.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Google1 product
Google llc1 product
- google cloud iot device sdk for embedded c≥ unspecified, ≤ 1.0.2
2 vendors · 2 products
References
2 links- github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/blob/master/RELEASE-NOTES.mdX Refsource MISCRelease NotesThird Party Advisory
- github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/pull/119X Refsource MISCPatchThird Party Advisory