CVE-2021-22547

Buffer overrun in Google Cloud IoT Device SDK for Embedded C

Published May 4, 2021 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-9688 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Aug 3, 2024, 6:44 PM
Reserved
Jan 5, 2021, 12:00 AM
Status
Modified
Published
May 4, 2021, 1:15 PM
Modified
Jun 17, 2026, 3:37 AM