CVE-2021-22547

Buffer overrun in Google Cloud IoT Device SDK for Embedded C

HIGH
7.8
CVSS Score
Published: May 4, 2021 at 01:05 PM UTC
Updated: June 17, 2026 at 03:37 AM UTC
1 product affected across 1 vendorCloud Iot Device SDK for Embedded C

Using Google Cloud IoT Device SDK for Embedded C by Google LLC?

Get instant alerts when new vulnerabilities affect Google Cloud IoT Device SDK for Embedded C - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 1.0.2
Affected range stops below 1.0.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-120

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card