CVE-2021-22547
Dashboard / Vulnerabilities / CVE-2021-22547
CVE-2021-22547
Published: 4 May 2021Last Modified: 9 Jul 2026
Summary:
Details: 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.
References: https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/blob/master/RELEASE-NOTES.md, https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/pull/119
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v1.0.2
v1.0.1
v1.0.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
