CVE-2021-22547: google llc google cloud iot device sdk for embedded c Classic Buffer Overflow
Vulnerability summary
CVE-2021-22547 is a high (CVSS 7.8) Classic Buffer Overflow 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 11.2% of scored vulnerabilities.
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
11%
Versus all other CVEs
30-day change
0.00 pp
From 0.22% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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