CVE-2021-22547CWE-120

Buffer overrun in Google Cloud IoT Device SDK for Embedded C

Medium · published May 4, 2021

CVSS v3.1
6.3
EPSS
0%
Percentile
11.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.3 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00217 · 11.5th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2021-05-04T13:05Z
EPSS history
Timeline
  • 04 MAY 13:05Z
    Buffer overrun in Google Cloud IoT Device SDK for Embedded C
    cvelistv5