Vulnerability · Published May 4, 2021 · Assigned by Google

CVE-2021-22547Buffer overrun in Google Cloud IoT Device SDK for Embedded C

Medium 6.3

In plain English

A medium-severity buffer overflow in Google Cloud IoT Device SDK for Embedded C from Google LLC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities).

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.2%top 87.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 products (as reported)

VendorProductVersions
Google LLC Google Cloud IoT Device SDK for Embedded C unspecified – through 1.0.2

Weakness: CWE-120 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

References