Buffer overflow in Google Cloud Iot Device Sdk For Embedded C
CVE-2021-22547
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.002 (10.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 11th percentile — 10.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Google Cloud Iot Device Sdk For Embedded C
- Google Llc Cloud Iot Device Sdk For Embedded C — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/blob/master/RELEASE-NO… (Third Party Advisory, Release Notes)
- github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/pull/119 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-22547?
- CVE-2021-22547 is a medium-severity vulnerability in Google Cloud Iot Device Sdk For Embedded C, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 6.3/10. Published 2021-05-04.
- How severe is CVE-2021-22547?
- Medium severity. CVSS v3 base score is 6.3 out of 10.
- Is CVE-2021-22547 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.